code: def __init__(self, d, julian, hour=2, minute=0, second=0):
      min_day = 0 + julian  # convert bool to int
      if not min_day <= d <= 365:
          raise ValueError(f"d must be in [{min_day}, 365], not: {d}")
  
      self.d = d
      self.julian = julian
      self.hour = hour
      self.minute = minute
      self.second = second
  
imports: import bisect
  import calendar
  import collections
  import functools
  import re
  import weakref
  from datetime import datetime, timedelta, tzinfo
  from .None import _common, _tzpath
label_desc: Use image node_id 1 to create a new _DayOffset object  with example: obj = _DayOffset(d, julian, hour, minute, second)