docs: def from_moy(cls, moy, leap_year=False):
          """Create Ladybug Datetime from a minute of the year.
  
          Args:
              moy: An integer value 0 <= and < 525600
          """
          if not leap_year:
              num_of_minutes_until_month = (0, 44640, 84960, 129600, 172800, 217440,
                                            260640, 305280, 349920, 393120, 437760,
                                            480960, 525600)
          else:
              num_of_minutes_until_month = (0, 44640, 84960 + 1440, 129600 + 1440,
                                            172800 + 1440, 217440 + 1440, 260640 + 1440,
                                            305280 + 1440, 349920 + 1440, 393120 + 1440,
                                            437760 + 1440, 480960 + 1440, 525600 + 1440)
          # find month
          for monthCount in range(12):
              if int(moy) < num_of_minutes_until_month[monthCount + 1]:
                  month = monthCount + 1
                  break
          try:
              day = int((moy - num_of_minutes_until_month[month - 1]) / (60 * 24)) + 1
          except UnboundLocalError:
              raise ValueError(
                  "moy must be positive and smaller than 525600. Invalid input %d" % (moy)
              )
          else:
              hour = int((moy / 60) % 24)
              minute = int(moy % 60)
  
              return cls(month, day, hour, minute, leap_year)