C# Class Universe.Framework.Utilities.Culture

Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Méthodes publiques

Méthode Description
LocaleDate ( System.DateTime userDateTime ) : string

Returns a formatted date string depending upon the system Locale.

LocaleDate ( System.DateTime userDateTime, string dtFormat ) : string

Returns a formatted date string depending upon the system Locale.

LocaleLogStamp ( ) : string

Returns a formatted date time string depending upon the system Locale. Used for logging

LocaleTimeDate ( ) : string

Returns a formatted date time string depending upon the system Locale.

SetCurrentCulture ( ) : void

Set Culture to en-US to make string processing of numbers simpler.

Method Details

LocaleDate() public static méthode

Returns a formatted date string depending upon the system Locale.
public static LocaleDate ( System.DateTime userDateTime ) : string
userDateTime System.DateTime
Résultat string

LocaleDate() public static méthode

Returns a formatted date string depending upon the system Locale.
public static LocaleDate ( System.DateTime userDateTime, string dtFormat ) : string
userDateTime System.DateTime User date time.
dtFormat string DateTime format if required.
Résultat string

LocaleLogStamp() public static méthode

Returns a formatted date time string depending upon the system Locale. Used for logging
public static LocaleLogStamp ( ) : string
Résultat string

LocaleTimeDate() public static méthode

Returns a formatted date time string depending upon the system Locale.
public static LocaleTimeDate ( ) : string
Résultat string

SetCurrentCulture() public static méthode

Set Culture to en-US to make string processing of numbers simpler.
public static SetCurrentCulture ( ) : void
Résultat void