Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-91
COMPUTEJULIANDAYNO Procedure
year input
INT:value
is the Gregorian year (for example, 1984, 1985, ... ). The range for
year is
restricted from 1 through 10000.
month input
INT:value
is the Gregorian month (1-12).
day input
INT:value
is the Gregorian day of the month (1-31).
error-mask output
INT:ref:1
is a bit array in which the first three bits correspond (bit by bit) to
year, month, and
day, as follows:
<0> year
<1> month
<2> day
If any one of these bits contains a 1, there is an error. If more than one bit is set,
then the combination of elements is bad; which element is actually in error is
unknown. For example, 01100000 00000000 is returned for April 31, in which case
it is unknown whether April is in error or 31.
Related Programming Manual
For programming information about the COMPUTEJULIANDAYNO procedure, refer to
the
Guardian Programmer’s Guide.