C# Class SharpCifs.Util.Sharpen.DateFormat

Exibir arquivo Open project: brandonprry/Potato

Public Methods

Method Description
Format ( System.DateTime time ) : string
GetDateTimeInstance ( int dateStyle, int timeStyle ) : DateFormat
GetDateTimeInstance ( int dateStyle, int timeStyle, CultureInfo aLocale ) : DateFormat
GetTimeZone ( ) : TimeZoneInfo
Parse ( string value ) : System.DateTime
SetTimeZone ( TimeZoneInfo timeZone ) : void

Method Details

Format() public abstract method

public abstract Format ( System.DateTime time ) : string
time System.DateTime
return string

GetDateTimeInstance() public static method

public static GetDateTimeInstance ( int dateStyle, int timeStyle ) : DateFormat
dateStyle int
timeStyle int
return DateFormat

GetDateTimeInstance() public static method

public static GetDateTimeInstance ( int dateStyle, int timeStyle, CultureInfo aLocale ) : DateFormat
dateStyle int
timeStyle int
aLocale System.Globalization.CultureInfo
return DateFormat

GetTimeZone() public method

public GetTimeZone ( ) : TimeZoneInfo
return System.TimeZoneInfo

Parse() public abstract method

public abstract Parse ( string value ) : System.DateTime
value string
return System.DateTime

SetTimeZone() public method

public SetTimeZone ( TimeZoneInfo timeZone ) : void
timeZone System.TimeZoneInfo
return void