obspy.core.utcdatetime.UTCDateTime._set_julday

UTCDateTime._set_julday(value)[source]

Sets Julian day of current UTCDateTime object.

Parameters:value (int) Julian day

Example

>>> dt = UTCDateTime(2008, 12, 5, 12, 30, 35, 45020)
>>> dt.julday = 275
>>> dt
UTCDateTime(2008, 10, 1, 12, 30, 35, 45020)