Метод | Описание | |
---|---|---|
From ( this moment, System.DateTime to ) : string | ||
From ( this moment, System.DateTime to, bool withoutSuffix ) : string | ||
From ( this moment, System.DateTime to, bool withoutSuffix, string nullValue ) : string | ||
From ( this moment, System.DateTime to, string nullValue ) : string | ||
FromNow ( this moment ) : string | ||
FromNow ( this moment, bool withoutSuffix ) : string | ||
FromNow ( this moment, bool withoutSuffix, string nullValue ) : string | ||
FromNow ( this moment, string nullValue ) : string | ||
Humanize ( this duration, bool withSuffix ) : string | ||
ToFullDateTime ( this d ) : string | ||
ToFullDateTime ( this d, string NullValue = "N/A" ) : string | ||
ToISO8601 ( this d ) : string | ||
ToUnixEpoc ( this d ) : long | ||
ToUnixEpoc ( this d ) : long? |
Метод | Описание | |
---|---|---|
RelativeTime ( this difference, bool withoutSuffix ) : string |
public static From ( this moment, System.DateTime to ) : string | ||
moment | this | |
to | System.DateTime | |
Результат | string |
public static From ( this moment, System.DateTime to, bool withoutSuffix ) : string | ||
moment | this | |
to | System.DateTime | |
withoutSuffix | bool | |
Результат | string |
public static From ( this moment, System.DateTime to, bool withoutSuffix, string nullValue ) : string | ||
moment | this | |
to | System.DateTime | |
withoutSuffix | bool | |
nullValue | string | |
Результат | string |
public static From ( this moment, System.DateTime to, string nullValue ) : string | ||
moment | this | |
to | System.DateTime | |
nullValue | string | |
Результат | string |
public static FromNow ( this moment ) : string | ||
moment | this | |
Результат | string |
public static FromNow ( this moment, bool withoutSuffix ) : string | ||
moment | this | |
withoutSuffix | bool | |
Результат | string |
public static FromNow ( this moment, bool withoutSuffix, string nullValue ) : string | ||
moment | this | |
withoutSuffix | bool | |
nullValue | string | |
Результат | string |
public static FromNow ( this moment, string nullValue ) : string | ||
moment | this | |
nullValue | string | |
Результат | string |
public static Humanize ( this duration, bool withSuffix ) : string | ||
duration | this | |
withSuffix | bool | |
Результат | string |
public static ToFullDateTime ( this d ) : string | ||
d | this | |
Результат | string |
public static ToFullDateTime ( this d, string NullValue = "N/A" ) : string | ||
d | this | |
NullValue | string | |
Результат | string |
public static ToISO8601 ( this d ) : string | ||
d | this | |
Результат | string |
public static ToUnixEpoc ( this d ) : long | ||
d | this | |
Результат | long |
public static ToUnixEpoc ( this d ) : long? | ||
d | this | |
Результат | long? |