Aspectacular.DateTimeExtensions.IsUtc C# (CSharp) Méthode

IsUtc() public static méthode

Returns true if DateTimeOffset represents UTC time.
public static IsUtc ( this dto ) : bool
dto this
Résultat bool
        public static bool IsUtc(this DateTimeOffset dto)
        {
            return dto.Offset.Ticks == 0;
        }