System::Globalization::DateTimeFormatInfo class
Contents
[
Hide
]DateTimeFormatInfo class
Set of date and time formatting parameters. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class DateTimeFormatInfo : public virtual System::Object,
public System::IFormatProvider,
public System::ICloneable
Methods
Method | Description |
---|---|
Clone() override | Clones format info. |
DateTimeFormatInfo() | Default constructor, constructs invariant format info. |
get_AbbreviatedDayNames() const | Gets abbreviated day names. |
get_AbbreviatedMonthGenitiveNames() const | Gets abbreviated month names in genitive form. |
get_AbbreviatedMonthNames() const | Gets abbreviated month names. |
get_AMDesignator() const | Gets AM designator. |
get_Calendar() const | Gets calendar associated with formatter. |
get_CalendarWeekRule() const | Gets calendar week rule associated with formatter. |
static get_CurrentInfo() | Gets current thread’s date and time formatter. |
get_DateSeparator() const | Gets date separator. |
get_DayNames() const | Gets day names. |
get_FirstDayOfWeek() const | Gets first day of week. |
get_FullDateTimePattern() const | Gets full date and time pattern. |
static get_InvariantInfo() | Gets invariant date and time formatter. |
get_IsReadOnly() const | Checks whether formatter is read-only. |
get_LongDatePattern() const | Gets long date pattern. |
get_LongTimePattern() const | Gets long time pattern. |
get_MonthDayPattern() const | Gets month day pattern. |
get_MonthGenitiveNames() const | Gets month names in genitive form. |
get_MonthNames() const | Gets month names. |
get_NativeCalendarName() const | Gets native calendar name if available. |
get_PMDesignator() const | Gets PM designator. |
get_RFC1123Pattern() const | Gets RFC1123 pattern. |
get_ShortDatePattern() const | Gets short date pattern. |
get_ShortestDayNames() const | Gets shortest day names possible. |
get_ShortTimePattern() const | Gets short time pattern. |
get_SortableDateTimePattern() const | Gets sortable date and time pattern. |
get_TimeSeparator() const | Gets time separator. |
get_UniversalSortableDateTimePattern() const | Gets universal sortable date and time pattern. |
get_YearMonthPattern() const | Gets year and month pattern. |
GetAbbreviatedDayName(DayOfWeek) const | Gets abbreviated week day name. |
GetAbbreviatedEraName(int) const | Gets abbreviated era name. |
GetAbbreviatedMonthName(int) const | Gets abbreviated month name. |
GetAllDateTimePatterns() const | Gets all patterns in which date and time values can be formatted. |
GetAllDateTimePatterns(char16_t) const | Gets all patterns in which date and time values can be formatted using specified format string. |
GetDayName(DayOfWeek) const | Gets week day name. |
GetEra(const String&) const | Gets era by name. |
GetEraName(int) const | Gets era name. |
GetFormat(const TypeInfo&) override | Gets formatter of specific type. |
static GetInstance(const IFormatProviderPtr&) | Gets formatter associated with format provider. |
GetLeapYearMonthName(int) const | Gets leap-year month name. |
GetMonthGenitiveName(int) const | Gets genitive month name. |
GetMonthName(int) const | Gets month name. |
GetShortestDayName(DayOfWeek) const | Gets shortes name for the specified day of week. |
operator=(const DateTimeFormatInfo&) | |
static ReadOnly(const DateTimeFormatInfoPtr&) | Gets read-only version of formatter. |
set_AbbreviatedDayNames(const ArrayPtr<String>&) | Sets abbreviated day names. |
set_AbbreviatedMonthGenitiveNames(const ArrayPtr<String>&) | Sets abbreviated month names in genitive form. |
set_AbbreviatedMonthNames(const ArrayPtr<String>&) | Sets abbreviated month names. |
set_AMDesignator(const String&) | Sets AM designator. |
set_Calendar(const SharedPtr<Calendar>&) | Sets calendar associated with formatter. |
set_CalendarWeekRule(CalendarWeekRule) | Sets calendar week rule associated with formatter. |
set_DateSeparator(const String&) | Sets date separator. |
set_DayNames(const ArrayPtr<String>&) | Sets day names. |
set_FirstDayOfWeek(DayOfWeek) | Sets first day of week. |
set_FullDateTimePattern(const String&) | Sets full date and time pattern. |
set_LongDatePattern(const String&) | Sets long date pattern. |
set_LongTimePattern(const String&) | Sets long time pattern. |
set_MonthDayPattern(const String&) | Sets month day pattern. |
set_MonthGenitiveNames(const ArrayPtr<String>&) | Sets month names in genitive form. |
set_MonthNames(const ArrayPtr<String>&) | Sets month names. |
set_PMDesignator(const String&) | Sets PM designator. |
set_ShortDatePattern(const String&) | Sets short date pattern. |
set_ShortestDayNames(const ArrayPtr<String>&) | Sets shortest day names possible. |
set_ShortTimePattern(const String&) | Sets short time pattern. |
set_TimeSeparator(const String&) | Sets time separator. |
set_YearMonthPattern(const String&) | Sets year and month pattern. |
SetAllDateTimePatterns(const ArrayPtr<String>&, char16_t) | Sets patterns for the specified format. |
See Also
- Class Object
- Class IFormatProvider
- Class ICloneable
- Namespace System::Globalization
- Library Aspose.Font for C++