i = setub(month, year, maximum_cmc);
The
setlb function returns the upper bound of the
century month code (CMC) of an event. The arguments
month,
year, and
maximum_cmc are all numeric expressions.
If the month and year are both valid, the function returns the CMC of that date, as if calling:
If the month is invalid but the year is valid, the function returns the CMC of December in the valid year, as if calling:
If both the month and year are invalid, the function returns the upper bound represented as maximum_cmc.
The function returns the upper bound of the CMC of an event.