public interface ZonelessTimeGrain extends TimeGrain
Modifier and Type | Method and Description |
---|---|
default boolean |
aligns(org.joda.time.DateTime dateTime)
Determines if this dateTime falls on a time grain boundary.
|
default ZonedTimeGrain |
buildZonedTimeGrain(org.joda.time.DateTimeZone dateTimeZone)
Apply a timezone to a time grain.
|
accepts, aligns, getAlignmentDescription, getEstimatedDuration, getName, getPeriod, getPeriodString, getType, intervalsIterator, roundCeiling, roundFloor, satisfiedBy, satisfiedBy, toString
intervalsIterable, intervalsIterator, satisfies
default boolean aligns(org.joda.time.DateTime dateTime)
default ZonedTimeGrain buildZonedTimeGrain(org.joda.time.DateTimeZone dateTimeZone)
dateTimeZone
- The time zone to associate with the resulting zone time grainCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.