Méthode | Description | |
---|---|---|
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? |
Méthode | Description | |
---|---|---|
RelativeTime ( this difference, bool withoutSuffix ) : string |
public static From ( this moment, System.DateTime to ) : string | ||
moment | this | |
to | System.DateTime | |
Résultat | string |
public static From ( this moment, System.DateTime to, bool withoutSuffix ) : string | ||
moment | this | |
to | System.DateTime | |
withoutSuffix | bool | |
Résultat | string |
public static From ( this moment, System.DateTime to, bool withoutSuffix, string nullValue ) : string | ||
moment | this | |
to | System.DateTime | |
withoutSuffix | bool | |
nullValue | string | |
Résultat | string |
public static From ( this moment, System.DateTime to, string nullValue ) : string | ||
moment | this | |
to | System.DateTime | |
nullValue | string | |
Résultat | string |
public static FromNow ( this moment ) : string | ||
moment | this | |
Résultat | string |
public static FromNow ( this moment, bool withoutSuffix ) : string | ||
moment | this | |
withoutSuffix | bool | |
Résultat | string |
public static FromNow ( this moment, bool withoutSuffix, string nullValue ) : string | ||
moment | this | |
withoutSuffix | bool | |
nullValue | string | |
Résultat | string |
public static FromNow ( this moment, string nullValue ) : string | ||
moment | this | |
nullValue | string | |
Résultat | string |
public static Humanize ( this duration, bool withSuffix ) : string | ||
duration | this | |
withSuffix | bool | |
Résultat | string |
public static ToFullDateTime ( this d ) : string | ||
d | this | |
Résultat | string |
public static ToFullDateTime ( this d, string NullValue = "N/A" ) : string | ||
d | this | |
NullValue | string | |
Résultat | string |
public static ToISO8601 ( this d ) : string | ||
d | this | |
Résultat | string |
public static ToUnixEpoc ( this d ) : long? | ||
d | this | |
Résultat | long? |