utcoffset() public method

public utcoffset ( object dt ) : timedelta,
dt object
return timedelta,
示例#1
0
文件: datetime.cs 项目: kashano/main
 internal static bool IsNaiveTimeZone(tzinfo tz) {
     if (tz == null) return true;
     if (tz.utcoffset(null) == null) return true;
     return false;
 }