Export (0) Print Expand All This topic has not yet been rated -
Rate this topic  UmAlQuraCalendar.ToFourDigitYear Method
Converts the specified year to a four-digit year by using the
TwoDigitYearMax property to determine the appropriate century.
Namespace:  System.Globalization Assembly:  mscorlib (in
mscorlib.dll) public override int ToFourDigitYear(         int
year   Type: System.Int32 A 2-digit year from 0 through 99, or a
4-digit Um Al Qura calendar year from 1318 through 1450.  Return
Value  Type: System.Int32 If the year parameter is a 2-digit
year, the return value is the corresponding 4-digit year. If the
year parameter is a 4-digit year, the return value is the
unchanged year parameter.  year is outside the range supported
by this calendar.  The ToFourDigitYear method uses the year
parameter, the TwoDigitYearMax property, and a year to calculate
a 4-digit year. The century is determined by finding the sole
occurrence of the 2-digit year parameter within that 100-year
range. For example, if TwoDigitYearMa