Property | Type | Description | |
---|---|---|---|
RFC1123ZPattern | string | ||
missingYearRegexp | |||
missingYearRegexp2 | |||
timeAgoRegexp | |||
todayRegexp | |||
tomorrowRegexp | |||
yesterdayRegexp |
Method | Description | |
---|---|---|
DateTimeToUnixTimestamp ( System.DateTime dt ) : double | ||
FromFuzzyTime ( string str, |
||
FromTimeAgo ( string str ) : System.DateTime | ||
FromUnknown ( string str ) : System.DateTime | ||
ParseDateTimeGoLang ( string date, string layout ) : System.DateTime | ||
ParseTimeSpan ( string time ) : System.TimeSpan | ||
UnixTimestampToDateTime ( double unixTime ) : System.DateTime | ||
UnixTimestampToDateTime ( long unixTime ) : System.DateTime |
public static DateTimeToUnixTimestamp ( System.DateTime dt ) : double | ||
dt | System.DateTime | |
return | double |
public static FromFuzzyTime ( string str, |
||
str | string | |
format | ||
return | System.DateTime |
public static FromTimeAgo ( string str ) : System.DateTime | ||
str | string | |
return | System.DateTime |
public static FromUnknown ( string str ) : System.DateTime | ||
str | string | |
return | System.DateTime |
public static ParseDateTimeGoLang ( string date, string layout ) : System.DateTime | ||
date | string | |
layout | string | |
return | System.DateTime |
public static ParseTimeSpan ( string time ) : System.TimeSpan | ||
time | string | |
return | System.TimeSpan |
public static UnixTimestampToDateTime ( double unixTime ) : System.DateTime | ||
unixTime | double | |
return | System.DateTime |
public static UnixTimestampToDateTime ( long unixTime ) : System.DateTime | ||
unixTime | long | |
return | System.DateTime |
public static Regex,System.Text.RegularExpressions missingYearRegexp | ||
return |
public static Regex,System.Text.RegularExpressions missingYearRegexp2 | ||
return |
public static Regex,System.Text.RegularExpressions timeAgoRegexp | ||
return |
public static Regex,System.Text.RegularExpressions todayRegexp | ||
return |
public static Regex,System.Text.RegularExpressions tomorrowRegexp | ||
return |