GregorianCalendarUtils
Contents
[
Hide
]GregorianCalendarUtils class
Gregorian calendar utility functions.
class GregorianCalendarUtils
Methods
Method | Description |
---|---|
static double ConvertDateTimeToUDate(DateTime) | ConvertDateTime to ICU UDate. |
static DateTime ConvertUDateToDateTime(const double) | Convert ICU UDate to DateTime. |
static std::unique_ptr<codeporting_icu::Calendar> CreateCalendar() | Create gregorian ICU calendar. |
static codeporting_icu::Calendar& GetCalendar() | Gets thread-local gregorian ICU calendar. |
static int GetDaysInMonth(int, int) | Gets number of days in specific month. |
static int GetDaysInYear(int) | Gets number of days in specific year. |
static bool IsLeapDay(int, int, int) | Checks if the day is leap. |
static bool IsLeapYear(int) | Checks if the year is leap. |
Fields
Field | Description |
---|---|
static constexpr MaxYear | Max supported Gregorian year. |
static constexpr MinYear | Min supported Gregorian year. |
See Also
- Namespace System::Globalization::Details
- Library Aspose.Slides