67 references to UtcDateTime
mscorlib (39)
system\datetimeoffset.cs (36)
199
return
UtcDateTime
.ToLocalTime();
339
return
UtcDateTime
.Ticks;
447
return DateTime.Compare(first.
UtcDateTime
, second.
UtcDateTime
);
461
DateTime objUtc = ((DateTimeOffset)obj).
UtcDateTime
;
462
DateTime utc =
UtcDateTime
;
469
DateTime otherUtc = other.
UtcDateTime
;
470
DateTime utc =
UtcDateTime
;
484
return
UtcDateTime
.Equals(((DateTimeOffset)obj).
UtcDateTime
);
490
return
UtcDateTime
.Equals(other.
UtcDateTime
);
508
return DateTime.Equals(first.
UtcDateTime
, second.
UtcDateTime
);
585
return
UtcDateTime
.GetHashCode();
654
return
UtcDateTime
.Subtract(value.
UtcDateTime
);
663
return
UtcDateTime
.ToFileTime();
683
long seconds =
UtcDateTime
.Ticks / TimeSpan.TicksPerSecond;
690
long milliseconds =
UtcDateTime
.Ticks / TimeSpan.TicksPerMillisecond;
700
return new DateTimeOffset(
UtcDateTime
.ToLocalTime(throwOnOverflow));
724
return new DateTimeOffset(
UtcDateTime
);
847
return left.
UtcDateTime
- right.
UtcDateTime
;
851
return left.
UtcDateTime
== right.
UtcDateTime
;
855
return left.
UtcDateTime
!= right.
UtcDateTime
;
859
return left.
UtcDateTime
< right.
UtcDateTime
;
863
return left.
UtcDateTime
<= right.
UtcDateTime
;
867
return left.
UtcDateTime
> right.
UtcDateTime
;
871
return left.
UtcDateTime
>= right.
UtcDateTime
;
system\timezoneinfo.cs (3)
429
return GetUtcOffsetFromUtc(dateTimeOffset.
UtcDateTime
, this);
544
GetUtcOffsetFromUtc(dateTimeOffset.
UtcDateTime
, this, out isDaylightSavingTime);
710
DateTime utcDateTime = dateTimeOffset.
UtcDateTime
;
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (1)
921
DateTime utcDateTime = dateTimeOffset.
UtcDateTime
; // timeInfo stores the utc datetime of a datatimeoffset
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
6312
bytesPart = SerializeDateTime2(value.
UtcDateTime
, scale, length - 2);
6330
WriteDateTime2(value.
UtcDateTime
, scale, length - 2, stateObj);
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
584
DateTime utcDateTime = value.
UtcDateTime
;
System.Data.Linq (18)
SqlClient\SqlMethods.cs (18)
49
return DateDiffYear(startDate.
UtcDateTime
, endDate.
UtcDateTime
);
107
return DateDiffMonth(startDate.
UtcDateTime
, endDate.
UtcDateTime
);
166
return DateDiffDay(startDate.
UtcDateTime
, endDate.
UtcDateTime
);
225
return DateDiffHour(startDate.
UtcDateTime
, endDate.
UtcDateTime
);
284
return DateDiffMinute(startDate.
UtcDateTime
, endDate.
UtcDateTime
);
344
return DateDiffSecond(startDate.
UtcDateTime
, endDate.
UtcDateTime
);
404
return DateDiffMillisecond(startDate.
UtcDateTime
, endDate.
UtcDateTime
);
470
return DateDiffMicrosecond(startDate.
UtcDateTime
, endDate.
UtcDateTime
);
536
return DateDiffNanosecond(startDate.
UtcDateTime
, endDate.
UtcDateTime
);
System.Runtime.Caching (3)
System\Caching\HostFileChangeMonitor.cs (2)
37
uniqueId = path + lastWrite.
UtcDateTime
.Ticks.ToString("X", CultureInfo.InvariantCulture) + fileSize.ToString("X", CultureInfo.InvariantCulture);
58
sb.Append(lastWrite.
UtcDateTime
.Ticks.ToString("X", CultureInfo.InvariantCulture));
System\Caching\MemoryCacheEntry.cs (1)
111
_utcAbsExp = absExp.
UtcDateTime
;
System.Runtime.Serialization (1)
System\Runtime\Serialization\DateTimeOffsetAdapter.cs (1)
67
return new DateTimeOffsetAdapter(value.
UtcDateTime
, (short)value.Offset.TotalMinutes);
System.Web.Extensions (1)
Script\Serialization\JavaScriptSerializer.cs (1)
438
SerializeDateTime(((DateTimeOffset)o).
UtcDateTime
, sb, serializationFormat);
System.Xml (1)
System\Xml\Core\XmlWriter.cs (1)
299
WriteValue(value.
UtcDateTime
);