Date.newJulian

Create a new #GDate representing the given Julian date.

The julian_day you pass in must be valid. Use glib.date.Date.validJulian if needed to validate it. The returned #GDate is guaranteed to be non-null and valid.

class Date
static
newJulian
()

Parameters

julianDay uint

days since January 1, Year 1

Return Value

Type: glib.date.Date

a newly-allocated #GDate initialized with julian_day