C# Class SupportClass.DateTimeFormatManager.DateTimeFormatHashTable, csharp-ldap

Inheritance: Hashtable
ファイルを表示 Open project: EventStore/csharp-ldap

Public Methods

Method Description
GetDateFormatPattern ( System format ) : string

Gets the current format pattern of the DateTimeFormat instance

GetTimeFormatPattern ( System format ) : string

Gets the current format pattern of the DateTimeFormat instance

SetDateFormatPattern ( System format, System newPattern ) : void

Sets the format for datetime.

SetTimeFormatPattern ( System format, System newPattern ) : void

Sets the datetimeformat pattern to the giving format

Method Details

GetDateFormatPattern() public method

Gets the current format pattern of the DateTimeFormat instance
public GetDateFormatPattern ( System format ) : string
format System The DateTimeFormat instance which the value will be obtained
return string

GetTimeFormatPattern() public method

Gets the current format pattern of the DateTimeFormat instance
public GetTimeFormatPattern ( System format ) : string
format System The DateTimeFormat instance which the value will be obtained
return string

SetDateFormatPattern() public method

Sets the format for datetime.
public SetDateFormatPattern ( System format, System newPattern ) : void
format System DateTimeFormat instance to set the pattern
newPattern System A string with the pattern format
return void

SetTimeFormatPattern() public method

Sets the datetimeformat pattern to the giving format
public SetTimeFormatPattern ( System format, System newPattern ) : void
format System The datetimeformat instance to set
newPattern System The new datetimeformat pattern
return void