Public Types | |
enum | DateType { DayMonthYear, MonthDayYear, YearMonthDay } |
This enum specifies date presentation for different cultures and it is used by date formats. More... | |
Static Public Member Functions | |
static void | SetDateType (DateType dateFormat) |
Sets a new date format. | |
static DateType | GetDateType () |
Gets a current date format. | |
static TString | GetDateSeparator () |
Gets a current date separator. | |
static TString | GetTimeSeparator () |
Gets a current time separator. | |
static TString | GetMillisecondSeparator () |
Gets a current millisecond separator. | |
static void | SetDateSeparator (const TString &separator=_T("/")) |
Sets a new date separator. | |
static void | SetTimeSeparator (const TString &separator=_T(":")) |
Sets a new time separator. | |
static void | SetMillisecondSeparator (const TString &separator=_T(".")) |
Sets a new millisecond separator. |
enum DateType |
void SetDateType | ( | DateType | dateFormat | ) | [static] |
Sets a new date format.
[in] | dateFormat | New date format |
CPreferences::DateType GetDateType | ( | ) | [static] |
Gets a current date format.
TString GetDateSeparator | ( | ) | [static] |
Gets a current date separator.
TString GetTimeSeparator | ( | ) | [static] |
Gets a current time separator.
TString GetMillisecondSeparator | ( | ) | [static] |
Gets a current millisecond separator.
void SetDateSeparator | ( | const TString & | separator = _T("/") |
) | [static] |
Sets a new date separator.
[in] | separator | New date separator. |
void SetTimeSeparator | ( | const TString & | separator = _T(":") |
) | [static] |
Sets a new time separator.
[in] | separator | New time separator |
void SetMillisecondSeparator | ( | const TString & | separator = _T(".") |
) | [static] |
Sets a new millisecond separator.
[in] | separator | New milliseconds separator |
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |