Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Aspectacular
DateTimeExtensions
IsUtc
Aspectacular.DateTimeExtensions.IsUtc C# (CSharp) Метод
Документация по классу DateTimeExtensions
Показать файл
Открыть проект
IsUtc()
публичный
статический
Метод
Returns true if DateTimeOffset represents UTC time.
public
static
IsUtc
(
this
dto
) :
bool
dto
this
Результат
bool
public static bool IsUtc(this DateTimeOffset dto) { return dto.Offset.Ticks == 0; }
DateTimeExtensions
FromSortableIntDateTime
FromSortableIntTime
GoTo
IsUtc
PreviousMoment
Quarter
ToDateTime
ToSortableIntDate
ToSortableIntTime
ToSortableLongDateTime
ToSortableLongTime
WeekOfYear