- // Because the PL031 is a 32-bit counter counting seconds,\r
- // the maximum time span is just over 136 years.\r
- // Time is stored in Unix Epoch format, so it starts in 1970,\r
- // Therefore it can not exceed the year 2106.\r
- // This is not a problem for UEFI, as the current spec limits the years\r
- // to the range 1998 .. 2011\r
-\r
- // Check the input parameters' range.\r
- if ((Time->Year < 1998) ||\r
- (Time->Year > 2099) ||\r
+ // Check the input parameters are within the range specified by UEFI\r
+ if ((Time->Year < 1900) ||\r
+ (Time->Year > 9999) ||\r