GLib.Date.prototype.get_julian
function get_julian(): Number(guint32) { // Gjs wrapper for g_date_get_julian() }
Returns the Julian day or "serial number" of the GLib.Date. The Julian day is simply the number of days since January 1, Year 1; i.e., January 1, Year 1 is Julian day 1; January 2, Year 1 is Julian day 2, etc. The date must be valid.
- Returns
Julian day