# Path: labella/d3_time.py
# class d3_time_interval:
#     def __init__(self, local, step, number):
#     def round(self, date):
#     def floor(self, date):
#     def ceil(self, date):
#     def offset(self, date, k):
#     def range(self, t0, t1, dt):
#     def __call__(self, date):
# def d3_time_hour_local(date):
# def d3_time_day_offset(date, offset):
# def day_of_year(date):
# def d3_time_week_local(date):
# def d3_time_week_number(date):
# def d3_time_month_local(date):
# def d3_time_month_offset(date, offset):
# def d3_time_year_local(date):


import math
from datetime import datetime
from labella.d3_time import d3_time
    5e3,  # 5-second
    15e3,  # 15-second
    3e4,  # 30-second
    6e4,  # 1-minute
    3e5,  # 5-minute
    9e5,  # 15-minute
    18e5,  # 30-minute
    36e5,  # 1-hour
    108e5,  # 3-hour
    216e5,  # 6-hour
    432e5,  # 12-hour
    864e5,  # 1-day
    1728e5,  # 2-day
    6048e5,  # 1-week
    2592e6,  # 1-month
    7776e6,  # 3-month
    31536e6,  # 1-year
]

d3_time_scaleLocalMethods = [
    [d3_time["second"], 1],
    [d3_time["second"], 5],
    [d3_time["second"], 15],
    [d3_time["second"], 30],
    [d3_time["minute"], 1],
    [d3_time["minute"], 5],
    [d3_time["minute"], 15],
    [d3_time["minute"], 30],
    [d3_time["hour"], 1],
    [d3_time["hour"], 3],

# Path: labella/d3_time.py
# class d3_time_interval:
#     def __init__(self, local, step, number):
#     def round(self, date):
#     def floor(self, date):
#     def ceil(self, date):
#     def offset(self, date, k):
#     def range(self, t0, t1, dt):
#     def __call__(self, date):
# def d3_time_hour_local(date):
# def d3_time_day_offset(date, offset):
# def day_of_year(date):
# def d3_time_week_local(date):
# def d3_time_week_number(date):
# def d3_time_month_local(date):
# def d3_time_month_offset(date, offset):
# def d3_time_year_local(date):


# Path: labella/scale.py
import math
from datetime import datetime
from labella.d3_time import d3_time

    5e3,  # 5-second
    15e3,  # 15-second
    3e4,  # 30-second
    6e4,  # 1-minute
    3e5,  # 5-minute
    9e5,  # 15-minute
    18e5,  # 30-minute
    36e5,  # 1-hour
    108e5,  # 3-hour
    216e5,  # 6-hour
    432e5,  # 12-hour
    864e5,  # 1-day
    1728e5,  # 2-day
    6048e5,  # 1-week
    2592e6,  # 1-month
    7776e6,  # 3-month
    31536e6,  # 1-year
]

d3_time_scaleLocalMethods = [
    [d3_time["second"], 1],
    [d3_time["second"], 5],
    [d3_time["second"], 15],
    [d3_time["second"], 30],
    [d3_time["minute"], 1],
    [d3_time["minute"], 5],
    [d3_time["minute"], 15],
    [d3_time["minute"], 30],
    [d3_time["hour"], 1],
    [d3_time["hour"], 3],

    [d3_time["hour"], 6],