KoreanCalendar: ToFourDigitYear

ToFourDigitYear

Returns a 4-digit year from a 2-digit number.



 Public Function ToFourDigitYear(
	  ByVal Year As Long ) As Long

Parameters

Year
[ByVal] Long. The year to be converted to 4-digits.

Return Values

Long -  A 4-digit year in the specific calendar.

Remarks

A normal way of dealing with years is by refering to them as a 2-digit value. This is evident in the Gregorian calendar system. The year 2005 may be referenced as 05 (pronounced oh-five). When converting a 2-digit year to a 4-digit the century is unknown. 05 could be 2005 or 1905. This property gives the calendar a rule to follow when converting 2-digit years to 4-digit.

A max year of 2029 will cause a minimum year of 1930. These two years represent 100 years which 2-digit years will fall. 00-99 will fall within 1930-2029.

See Also

Project CorLib Overview

Class KoreanCalendar Overview