Function

GLib-2.0GLibdate_valid_year

  • Returns true if the year is valid. Any year greater than 0 is valid, though there is a 16-bit limit to what GLib.Date will understand.

    Parameters

    • year: number

      year

    Returns boolean

    true if the year is valid