Aspectacular.DateTimeExtensions.IsUtc C# (CSharp) 메소드

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;
        }