@classmethod<EOL><INDENT>def from_hoy(cls, hoy, leap_year=False):<DEDENT>
return cls.from_moy(round(hoy * <NUM_LIT>), leap_year)<EOL>
Create Ladybug Datetime from an hour of the year.

        Args:
            hoy: A float value 0 <= and < 8760