16 references to DateTimeOffset
mscorlib (9)
system\datetimeoffset.cs (6)
171
return new
DateTimeOffset
(DateTime.Now);
177
return new
DateTimeOffset
(DateTime.UtcNow);
516
return new
DateTimeOffset
(DateTime.FromFileTime(fileTime));
700
return new
DateTimeOffset
(UtcDateTime.ToLocalTime(throwOnOverflow));
724
return new
DateTimeOffset
(UtcDateTime);
834
return new
DateTimeOffset
(dateTime);
system\io\longpath.cs (3)
339
return new
DateTimeOffset
(dtLocal).ToLocalTime();
359
return new
DateTimeOffset
(dtLocal).ToLocalTime();
379
return new
DateTimeOffset
(dtLocal).ToLocalTime();
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
956
value = new
DateTimeOffset
((DateTime)value);
System.Data.Linq (1)
DbConvert.cs (1)
147
return new
DateTimeOffset
((DateTime)value);
System.Data.Services (3)
System\Data\Services\Epm\EpmSyndicationContentSerializer.cs (3)
177
date = new
DateTimeOffset
((DateTime)propertyValue);
189
date = new
DateTimeOffset
(result);
196
date = new
DateTimeOffset
(Convert.ToDateTime(propertyValue, CultureInfo.InvariantCulture));
System.Runtime.Serialization (1)
System\Runtime\Serialization\DateTimeOffsetAdapter.cs (1)
55
DateTimeOffset deserialized = new
DateTimeOffset
(value.UtcDateTime);
System.Xml (1)
System\Xml\Schema\XmlValueConverter.cs (1)
1456
return new
DateTimeOffset
(value);