tzinfo.utcoffset C# (CSharp) Method

utcoffset() public method

public utcoffset ( object dt ) : timedelta,
dt object
return timedelta,
            public virtual timedelta utcoffset(object dt) {
                throw new NotImplementedException();
            }

Usage Example

Example #1
0
 internal static bool IsNaiveTimeZone(tzinfo tz) {
     if (tz == null) return true;
     if (tz.utcoffset(null) == null) return true;
     return false;
 }