Calendar

Calendar


Represents various systems of time in which the beginning, length, and divisions of a year are defined.


Remarks

This class cannot be instantiated and should only be used to implement the interface of a calendar class.

See Also

Project VBCorLib Overview | CalendarStatic | GregorianCalendar | HebrewCalendar | HijriCalendar | JapaneseCalendar | JulianCalendar | KoreanCalendar | TaiwanCalendar | ThaiBuddhistCalendar

Public:

Types:

NameDescription
 CalendarWeekRuleInidicates how many days of the beginning of January must the first week contain in order to be counted as the first week. 

Properties:

NameDescription
 Eras (get)Returns an list of the eras the calendar can represent. 
 TwoDigitYearMax (get)Returns the maximinum 4-digit year that will be created from a 2-digit value. 
 TwoDigitYearMax (let)Sets the maximum 4-digit year that will be created from a 2-digit value. 

Methods:

NameDescription
 AddDaysReturns a cDateTime that is the specified number of days from the original Time. 
 AddHoursReturns a cDateTime this is the specified number of hours from the original Time. 
 AddMillisecondsReturns a cDateTime this is the specified number of Milliseconds from the original Time. 
 AddMinutesReturns a cDateTime this is the specified number of Minutes from the original Time. 
 AddMonthsReturns a cDateTime this is the specified number of Months from the original Time. 
 AddSecondsReturns a cDateTime this is the specified number of Seconds from the original Time. 
 AddWeeksReturns a cDateTime this is the specified number of Weeks from the original Time. 
 AddYearsReturns a cDateTime this is the specified number of Years from the original Time. 
 EqualsReturns a boolean indicating if the value and this object instance are the same instance. 
 GetDayOfMonthReturns the day of the months for the specified date. 
 GetDayOfWeekReturns the DayOfWeek enum of the specified date. 
 GetDayOfYearReturns the day of the year for the specified date. 
 GetDaysInMonthReturns the number of days in the specified month. 
 GetDaysInYearReturns the number of days in the specified year. 
 GetEraReturns the era that the specified time exists in. 
 GetHashCodeReturns a pseudo-unique number identifying this instance. 
 GetHourReturns the hour of the specified time. 
 GetMillisecondsReturns the milliseconds of the specified time. 
 GetMinuteReturns the minute of the specified time. 
 GetMonthReturns the month of the specified time. 
 GetMonthsInYearReturns the number of months in the specified year. 
 GetSecondReturns the second of the specified time. 
 GetWeekOfYearReturns the week of the year that the specified date belongs to. 
 GetYearReturns the year of the specified time. 
 IsLeapDayReturns a boolean indicating if the specific day is a leap day. 
 IsLeapMonthReturns a boolean indicating if the specific month is a leap month. 
 IsLeapYearReturns a boolean indicating if the specific year is a leap year. 
 ToDateTimeReturns a Gregorian cDateTime computed using the specific calendar rules. 
 ToFourDigitYearReturns a 4-digit year from a 2-digit number. 
 ToStringReturns a string representation of this object instance.