public static function time(Time $time, Time $interval = null)
    {
        $secInDay = Time::days(1)->sec;
        $interval = $interval ? $interval->sec : $secInDay;

        return static::deg($time->sec / $interval * 360);
    }