System::Globalization::DateTimeFormatInfo 클래스

DateTimeFormatInfo class

날짜 및 시간 서식 매개변수 집합. 이 클래스의 객체는 System::MakeObject() 함수를 사용하여 할당해야 합니다. 스택에 이 타입의 인스턴스를 만들거나 operator new를 사용하면 런타임 오류 및/또는 어설션 오류가 발생합니다. 항상 이 클래스를 System::SmartPtr 포인터로 감싸고 해당 포인터를 함수 인수로 전달하십시오.

class DateTimeFormatInfo : public virtual System::Object,
                           public System::IFormatProvider,
                           public System::ICloneable

메서드

메서드설명
Clone() override포맷 정보를 복제합니다.
DateTimeFormatInfo()기본 생성자, 불변 형식 정보를 구성합니다.
get_AbbreviatedDayNames() const축약된 요일 이름을 가져옵니다.
get_AbbreviatedMonthGenitiveNames() const소유격 형태의 축약된 월 이름을 가져옵니다.
get_AbbreviatedMonthNames() const축약된 월 이름을 가져옵니다.
get_AMDesignator() constAM 표시자를 가져옵니다.
get_Calendar() const포맷터와 연결된 달력을 가져옵니다.
get_CalendarWeekRule() const포맷터와 연결된 달력 주 규칙을 가져옵니다.
static get_CurrentInfo()현재 스레드의 날짜 및 시간 포맷터를 가져옵니다.
get_DateSeparator() const날짜 구분자를 가져옵니다.
get_DayNames() const날 이름을 가져옵니다.
get_FirstDayOfWeek() const주 첫 번째 요일을 가져옵니다.
get_FullDateTimePattern() const전체 날짜 및 시간 패턴을 가져옵니다.
static get_InvariantInfo()불변 날짜 및 시간 포맷터를 가져옵니다.
get_IsReadOnly() const포맷터가 읽기 전용인지 확인합니다.
get_LongDatePattern() const긴 날짜 패턴을 가져옵니다.
get_LongTimePattern() const긴 시간 패턴을 가져옵니다.
get_MonthDayPattern() const월 일 패턴을 가져옵니다.
get_MonthGenitiveNames() const소유격 형태의 월 이름을 가져옵니다.
get_MonthNames() const월 이름을 가져옵니다.
get_NativeCalendarName() const가능한 경우 기본 캘린더 이름을 가져옵니다.
get_PMDesignator() const오후 표시자를 가져옵니다.
get_RFC1123Pattern() constRFC1123 패턴을 가져옵니다.
get_ShortDatePattern() const짧은 날짜 패턴을 가져옵니다.
get_ShortestDayNames() const가능한 가장 짧은 요일 이름을 가져옵니다.
get_ShortTimePattern() const짧은 시간 패턴을 가져옵니다.
get_SortableDateTimePattern() const정렬 가능한 날짜 및 시간 패턴을 가져옵니다.
get_TimeSeparator() const시간 구분자를 가져옵니다.
get_UniversalSortableDateTimePattern() const보편적인 정렬 가능한 날짜 및 시간 패턴을 가져옵니다.
get_YearMonthPattern() const연도 및 월 패턴을 가져옵니다.
GetAbbreviatedDayName(DayOfWeek) const축약된 요일 이름을 가져옵니다.
GetAbbreviatedEraName(int) const축약된 연호 이름을 가져옵니다.
GetAbbreviatedMonthName(int) const축약된 월 이름을 가져옵니다.
GetAllDateTimePatterns() const날짜 및 시간 값을 형식화할 수 있는 모든 패턴을 가져옵니다.
GetAllDateTimePatterns(char16_t) const지정된 형식 문자열을 사용하여 날짜 및 시간 값을 형식화할 수 있는 모든 패턴을 가져옵니다.
GetDayName(DayOfWeek) const요일 이름을 가져옵니다.
GetEra(const String&) const이름으로 시대를 가져옵니다.
GetEraName(int) const시대 이름을 가져옵니다.
GetFormat(const TypeInfo&) override특정 유형의 포맷터를 가져옵니다.
static GetInstance(const IFormatProviderPtr&)포맷 제공자와 연결된 포맷터를 가져옵니다.
GetLeapYearMonthName(int) const윤년 월 이름을 가져옵니다.
GetMonthGenitiveName(int) const소유격 월 이름을 가져옵니다.
GetMonthName(int) const월 이름을 가져옵니다.
GetShortestDayName(DayOfWeek) const지정된 요일에 대한 가장 짧은 이름을 가져옵니다.
operator=(const DateTimeFormatInfo&)
static ReadOnly(const DateTimeFormatInfoPtr&)포맷터의 읽기 전용 버전을 가져옵니다.
set_AbbreviatedDayNames(const ArrayPtr<String>&)축약된 요일 이름을 설정합니다.
set_AbbreviatedMonthGenitiveNames(const ArrayPtr<String>&)소유격 형태의 축약된 월 이름을 설정합니다.
set_AbbreviatedMonthNames(const ArrayPtr<String>&)축약된 월 이름을 설정합니다.
set_AMDesignator(const String&)오전 표시자를 설정합니다.
set_Calendar(const SharedPtr<Calendar>&)포맷터와 연결된 달력을 설정합니다.
set_CalendarWeekRule(CalendarWeekRule)포맷터와 연결된 달력 주 규칙을 설정합니다.
set_DateSeparator(const String&)날짜 구분자를 설정합니다.
set_DayNames(const ArrayPtr<String>&)요일 이름을 설정합니다.
set_FirstDayOfWeek(DayOfWeek)주 첫 번째 요일을 설정합니다.
set_FullDateTimePattern(const String&)전체 날짜 및 시간 형식을 설정합니다.
set_LongDatePattern(const String&)긴 날짜 형식을 설정합니다.
set_LongTimePattern(const String&)긴 시간 형식을 설정합니다.
set_MonthDayPattern(const String&)월 일 형식을 설정합니다.
set_MonthGenitiveNames(const ArrayPtr<String>&)소유격 형태의 월 이름을 설정합니다.
set_MonthNames(const ArrayPtr<String>&)월 이름을 설정합니다.
set_PMDesignator(const String&)오후 표시자를 설정합니다.
set_ShortDatePattern(const String&)짧은 날짜 형식을 설정합니다.
set_ShortestDayNames(const ArrayPtr<String>&)가능한 가장 짧은 요일 이름을 설정합니다.
set_ShortTimePattern(const String&)짧은 시간 형식을 설정합니다.
set_TimeSeparator(const String&)시간 구분자를 설정합니다.
set_YearMonthPattern(const String&)연도 및 월 형식을 설정합니다.
SetAllDateTimePatterns(const ArrayPtr<String>&, char16_t)지정된 형식에 대한 패턴을 설정합니다.

또 보기