Function

GLib-2.0GLibdate_valid_dmy

  • Returns true if the day-month-year triplet forms a valid, existing day in the range of days GLib.Date understands (Year 1 or later, no more than a few thousand years in the future).

    Parameters

    • day: number

      day

    • month: DateMonth

      month

    • year: number

      year

    Returns boolean

    true if the date is a valid one