valid_day


Description:

public static bool valid_day (DateDay day)

Returns true if the day of the month is valid (a day is valid if it's between 1 and 31 inclusive).

Parameters:

day

day to check

Returns:

true if the day is valid