ISPCalendar Members
Include Protected Members
Include Inherited Members
Provides methods for working with the local calendar.
The ISPCalendar type exposes the following members.
Methods
Name | Description | |
---|---|---|
DateToJulianDay | Returns the Julian day of the specified date. | |
DaysInMonth(SimpleDate) | Returns the number of days in the month of the specified date. | |
DaysInMonth(SimpleDate, Int32) | Returns the number of days in the month of the specified date. | |
GetEraJulianDay | Returns the Julian day of the first day of the specified era. | |
GetEraOffset | Returns the integer offset to use for dates in the specified era. | |
IsDateValid | Returns a Boolean value that indicates whether the specified SimpleDate represents a valid date value. | |
IsSupportedDate | Returns a Boolean value that indicates whether the specified date is supported by the local calendar. | |
IsSupportedJulianDay | Returns a Boolean value that indicates whether the specified Julian day is supported by the local calendar. | |
IsSupportedMonth | Returns a Boolean value that indicates whether the specified month in the specified year is supported by the local calendar. | |
IsSupportedYear | Returns a Boolean value that indicates whether the specified year is supported by the local calendar. | |
IsYearLeap(Int32) | Returns a Boolean value that indicates whether the specified year is a leap year. | |
IsYearLeap(Int32, Int32) | Returns a Boolean value that indicates whether the specified year in the specified era is a leap year. | |
JulianDayToDate | Returns the date of the specified Julian day. | |
MonthsInYear | Returns the number of months in the year of the specified date. |
Top