C# Class WinRTXamlToolkit.Common.DateTimeExtensions

Show file Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
ToLongDateString ( this dateTime ) : string
ToLongDateString ( this dateTime, CultureInfo culture ) : string
ToLongTimeString ( this dateTime ) : string
ToLongTimeString ( this dateTime, CultureInfo culture ) : string
ToShortDateString ( this dateTime ) : string
ToShortDateString ( this dateTime, CultureInfo culture ) : string
ToShortTimeString ( this dateTime ) : string
ToShortTimeString ( this dateTime, CultureInfo culture ) : string

Method Details

ToLongDateString() public static method

public static ToLongDateString ( this dateTime ) : string
dateTime this
return string

ToLongDateString() public static method

public static ToLongDateString ( this dateTime, CultureInfo culture ) : string
dateTime this
culture System.Globalization.CultureInfo
return string

ToLongTimeString() public static method

public static ToLongTimeString ( this dateTime ) : string
dateTime this
return string

ToLongTimeString() public static method

public static ToLongTimeString ( this dateTime, CultureInfo culture ) : string
dateTime this
culture System.Globalization.CultureInfo
return string

ToShortDateString() public static method

public static ToShortDateString ( this dateTime ) : string
dateTime this
return string

ToShortDateString() public static method

public static ToShortDateString ( this dateTime, CultureInfo culture ) : string
dateTime this
culture System.Globalization.CultureInfo
return string

ToShortTimeString() public static method

public static ToShortTimeString ( this dateTime ) : string
dateTime this
return string

ToShortTimeString() public static method

public static ToShortTimeString ( this dateTime, CultureInfo culture ) : string
dateTime this
culture System.Globalization.CultureInfo
return string