object BinnedTime extends Serializable
- Alphabetic
- By Inheritance
- BinnedTime
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type BinnedTimeToDate = (BinnedTime) ⇒ ZonedDateTime
- type DateToBin = (ZonedDateTime) ⇒ Short
- type DateToBinnedTime = (ZonedDateTime) ⇒ BinnedTime
- type TimeToBin = (Long) ⇒ Short
- type TimeToBinnedTime = (Long) ⇒ BinnedTime
Value Members
- val DaysMaxDate: ZonedDateTime
- val Epoch: ZonedDateTime
- val MonthsMaxDate: ZonedDateTime
- val WeeksMaxDate: ZonedDateTime
- val YearsMaxDate: ZonedDateTime
- val ZMinDate: ZonedDateTime
-
def
binnedTimeToDate(period: TimePeriod): BinnedTimeToDate
Gets a date back from a binned time
Gets a date back from a binned time
- period
interval type
-
def
boundsToIndexableDates(period: TimePeriod): ((Option[ZonedDateTime], Option[ZonedDateTime])) ⇒ (ZonedDateTime, ZonedDateTime)
Converts values extracted from a filter into valid indexable bounds
Converts values extracted from a filter into valid indexable bounds
- period
time period
-
def
dateToBin(period: TimePeriod): DateToBin
Gets period index (e.g.
Gets period index (e.g. weeks since the epoch) and offset into that interval (e.g. seconds in week)
- period
interval type
-
def
dateToBinnedTime(period: TimePeriod): DateToBinnedTime
Gets period index (e.g.
Gets period index (e.g. weeks since the epoch) and offset into that interval (e.g. seconds in week)
- period
interval type
-
def
maxDate(period: TimePeriod): ZonedDateTime
Max indexable date (exclusive) for a given time period
Max indexable date (exclusive) for a given time period
- period
interval type
-
def
maxOffset(period: TimePeriod): Long
Gets the max offset value for a given time period
Gets the max offset value for a given time period
- period
interval type
-
def
timeToBin(period: TimePeriod): TimeToBin
Gets period index (e.g.
Gets period index (e.g. weeks since the epoch)
- period
interval type
-
def
timeToBinnedTime(period: TimePeriod): TimeToBinnedTime
Gets period index (e.g.
Gets period index (e.g. weeks since the epoch) and offset into that interval (e.g. seconds in week)
- period
interval type