# Functions

FromUnix returns a new instance of Datetime from a unix timestamp.
New creates a new instance of Datetime from a go time struct.

# Constants

FifteenMins interval of 15 minutes.
FiveDay interval of 5 days.
FiveMins interval of 5 minutes.
FiveYear interval of 5 years.
Max interval.
NinetyMins interval of 90 minutes.
OneDay interval of 1 day.
OneHour interval of 1 hour.
OneMin interval of 1 minute.
OneMonth interval of 1 month.
OneYear interval of 1 year.
SixMonth interval of 6 months.
SixtyMins interval of 60 minutes.
TenYear interval of 10 years.
ThirtyMins interval of thirty minutes.
ThreeMonth interval of 3 months.
TwoMins interval of 2 minutes.
TwoYear interval of 2 years.
YTD interval of year-to-date.

# Structs

Datetime is a simple time construct, that is either the start point or the end point for a chart time-series.

# Type aliases

Interval is the aggregation of each chart bar.