clear


Description:

public void clear (uint n_dates = 1)

Initializes one or more Date structs to a safe but invalid state.

The cleared dates will not represent an existing date, but will not contain garbage. Useful to init a date declared on the stack. Validity can be tested with valid.

Parameters:

this

pointer to one or more dates to clear

n_dates

number of dates to clear