C# Class MetroFanfou.Helper.TimeToSpanConvert

Inheritance: IValueConverter
Afficher le fichier Open project: dodola/WP7Fanfou

Méthodes publiques

Méthode Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
ToGMTFormat ( System.DateTime dt ) : string

本地时间转成GMT格式的时间

Method Details

Convert() public méthode

public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
Résultat object

ConvertBack() public méthode

public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
Résultat object

ToGMTFormat() public static méthode

本地时间转成GMT格式的时间
public static ToGMTFormat ( System.DateTime dt ) : string
dt System.DateTime
Résultat string