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-अंकीय वर्ष में परिवर्तित करता है।

संबंधित देखें