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
|
public GetDateFormatPattern ( System format ) : string | ||
format | System | The DateTimeFormat instance which the value will be obtained |
return | string |
public GetTimeFormatPattern ( System format ) : string | ||
format | System | The DateTimeFormat instance which the value will be obtained |
return | string |
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 |
public SetTimeFormatPattern ( System format, System newPattern ) : void | ||
format | System | The datetimeformat instance to set |
newPattern | System | The new datetimeformat pattern |
return | void |