C# Class MWS.Helper.DateTimeHelper

Afficher le fichier Open project: Movilizer/.NET_Connector

Méthodes publiques

Méthode Description
FormatDate ( System.DateTime dt ) : string
GetTimestamp ( bool forFilename ) : string
GetTimestamp ( this value, bool forFilename ) : string
GetWeekOfYear ( ) : int
GetYear ( ) : int
ToDateTime ( long timestamp ) : System.DateTime

Method Details

FormatDate() public static méthode

public static FormatDate ( System.DateTime dt ) : string
dt System.DateTime
Résultat string

GetTimestamp() public static méthode

public static GetTimestamp ( bool forFilename ) : string
forFilename bool
Résultat string

GetTimestamp() public static méthode

public static GetTimestamp ( this value, bool forFilename ) : string
value this
forFilename bool
Résultat string

GetWeekOfYear() public static méthode

public static GetWeekOfYear ( ) : int
Résultat int

GetYear() public static méthode

public static GetYear ( ) : int
Résultat int

ToDateTime() public static méthode

public static ToDateTime ( long timestamp ) : System.DateTime
timestamp long
Résultat System.DateTime