 |
» |
|
|
 |
 |
|
 |
 |
Kit Numbers: VAXDCE0n_014 and ALPDCE0n_014
These kits contain Year 2000 enhancements for DCE for OpenVMS Version
.1.4. You can download these kits
directly from DIGITAL Services. Use the
Search and Download Utility to search for keywords VAXDCE
and ALPDCE. These kits include modifications that address
the following Year 2000-related limitations:
- In the SYS$COMMON:[SYSHLP.EXAMPLES.DCE.DTSS] directory, an example
of using the Spectracom time provider does not correctly calculate leap
years for the year 2000 and beyond.
- The DCE example program BOOK.C accepts a 2-digit year for date
input. However, date calculations work correctly only if a 4-digit year
is input.
A code change in the kit causes the example to enforce
the entry of 4-digit years and to output the year in 4-digit format.
- DCE dates are based on the UNIX time standard whereby 2-digit
years from 00 to 68 belong to the 2000's and years from 69 to 99 belong
to the 1900's. The code in the chk_date routine is off by one year,
using the ranges 00 to 69 and 70 to 99.
With the code change in the
kit, the date interpretations will conform to the UNIX standard.
- In the Year 2000 kit, the DCE ASN1 code correctly calculates the
leap year and prints 4-digit dates on output.
The DCE ASN1 code has
been updated to correct the leap year calculations and to print 4-digit
dates on output.
- A couple of routines have two date-related limitations:
- DCE dates are based on the UNIX time standard whereby 2-digit
years from 00 to 68 belong to the 2000's and years from 69 to 99 belong
to the 1900's. The routines are off by one year, using the ranges 00 to
69 and 70 to 99.
- The routines miss the checks for century and quad-century years
when they calculate leap years.
- Several print routines output the year in 2-digit format.
The
new kit changes the routines to output a 4-digit year format.
- A few prompts for dates accept 2-digit year formats.
The new
kit changes the prompts to require 4-digit year input.
These changes will also be
included in the next major release of the product.
|
 |
|