GLib.Date.valid_julian

function valid_julian(julian_date: Number(guint32)): Boolean {
    // Gjs wrapper for g_date_valid_julian()
}
  

Returns true if the Julian day is valid. Anything greater than zero is basically a valid Julian, though there is a 32-bit limit.

julian_date

Julian day to check

Returns

true if the Julian day is valid