def calculate_sun_from_hoy(self, hoy, is_solar_time=False):
datetime = DateTime.from_hoy(hoy, self.is_leap_year)<EOL>return self.calculate_sun_from_date_time(datetime, is_solar_time)<EOL>
Get Sun data for an hour of the year.

        Args:
            datetime: Ladybug datetime
            is_solar_time: A boolean to indicate if the input hour is solar time
                (Default: False).

        Returns:
            A sun object for this particular time