System::Globalization::Calendar 클래스

Calendar class

Calendar which defines how the dates are handled, calculated, formatted, etc. Setter operations are only enabled on non-read-only objects. 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 Calendar : public System::ICloneable

메서드

메서드설명
virtual AddDays(DateTime, int) const시간 지점에 일수를 추가합니다.
virtual AddHours(DateTime, int) const시간 지점에 시간을 추가합니다.
virtual AddMilliseconds(DateTime, double) const시간 지점에 밀리초를 추가합니다.
virtual AddMinutes(DateTime, int) const시간 지점에 분을 추가합니다.
virtual AddMonths(DateTime, int) const시간 지점에 월을 추가합니다.
virtual AddSeconds(DateTime, int) const시간 지점에 초를 추가합니다.
virtual AddWeeks(DateTime, int) const시간 지점에 주를 추가합니다.
virtual AddYears(DateTime, int) const시간 지점에 연도를 추가합니다.
Calendar(const Calendar&)RTTI 정보.
virtual get_AlgorithmType() const알고리즘 유형을 가져옵니다.
get_CurrentEra() const현재 연대의 인덱스를 가져옵니다.
get_CurrentEraValue() const현재 연대의 값을 가져옵니다.
virtual get_Eras() const달력에 존재하는 연호 목록을 가져옵니다.
virtual get_ID() const캘린더 식별자를 가져옵니다.
get_IsReadOnly() const캘린더가 읽기 전용인지 확인합니다.
virtual get_MaxSupportedDateTime() const달력이 지원하는 최대 시점.
virtual get_MinSupportedDateTime() const달력이 지원하는 최소 시점.
virtual get_TwoDigitYearMax() const2자리 숫자로 표현할 수 있는 마지막 연도를 가져옵니다.
virtual GetDayOfMonth(DateTime) const지정된 시점에 대한 월 일자를 가져옵니다.
virtual GetDayOfWeek(DateTime) const지정된 시점에 대한 요일을 가져옵니다.
virtual GetDayOfYear(DateTime) const지정된 시점에 대한 연중 일자를 가져옵니다.
virtual GetDaysInMonth(int, int) const특정 월의 일 수를 가져옵니다.
virtual GetDaysInMonth(int, int, int) const특정 월의 일 수를 가져옵니다.
virtual GetDaysInYear(int) const특정 연도의 일 수를 가져옵니다.
virtual GetDaysInYear(int, int) const특정 연도의 일 수를 가져옵니다.
virtual GetEra(DateTime) const지정된 시점에 대한 연호를 가져옵니다.
virtual GetHour(DateTime) const지정된 시간 지점의 시간을 가져옵니다.
virtual GetLeapMonth(int) const지정된 연도에 대한 윤달을 가져옵니다.
virtual GetLeapMonth(int, int) const지정된 연도에 대한 윤달을 가져옵니다.
virtual GetMilliseconds(DateTime) const지정된 시간 지점의 밀리초를 가져옵니다.
virtual GetMinute(DateTime) const지정된 시간 지점의 분을 가져옵니다.
virtual GetMonth(DateTime) const지정된 시점에 대한 월을 가져옵니다.
virtual GetMonthsInYear(int) const지정된 연도에 대한 월 수를 가져옵니다.
virtual GetMonthsInYear(int, int) const지정된 연도에 대한 월 수를 가져옵니다.
virtual GetSecond(DateTime) const지정된 시간 지점의 초를 가져옵니다.
virtual GetWeekOfYear(DateTime, CalendarWeekRule, DayOfWeek) const지정된 시간 지점의 연도 주를 가져옵니다.
virtual GetYear(DateTime) const지정된 시점에 대한 연도를 가져옵니다.
virtual IsLeapDay(int, int, int) const날이 윤년인지 확인합니다.
virtual IsLeapDay(int, int, int, int) const날이 윤년인지 확인합니다.
virtual IsLeapMonth(int, int) const월이 윤월인지 확인합니다.
virtual IsLeapMonth(int, int, int) const월이 윤월인지 확인합니다.
virtual IsLeapYear(int) const년이 윤년인지 확인합니다.
virtual IsLeapYear(int, int) const년이 윤년인지 확인합니다.
IsValidDay(int, int, int, int) const연도, 월, 일 및 연대 값을 확인합니다.
operator=(const Calendar&)
static ReadOnly(const CalendarPtr&)캘린더의 읽기 전용 버전을 가져옵니다.
virtual set_TwoDigitYearMax(int)2자리 숫자로 표현할 수 있는 마지막 연도를 설정합니다.
virtual ToDateTime(int, int, int, int, int, int, int) const구성 요소로부터 DateTime 객체를 생성합니다.
virtual ToDateTime(int, int, int, int, int, int, int, int) const구성 요소로부터 DateTime 객체를 생성합니다.
virtual ToFourDigitYear(int) constTwoDigitYearMax 속성을 사용하여 연도를 4자리 연도로 변환합니다.

또 보기