- java.lang.Object
-
- com.flexganttfx.model.dateline.DatelineModel<SimpleUnit>
-
- com.flexganttfx.model.dateline.SimpleUnitDatelineModel
-
public final class SimpleUnitDatelineModel extends DatelineModel<SimpleUnit>
-
-
Constructor Summary
Constructors Constructor Description SimpleUnitDatelineModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleUnit
nextTemporalUnit(SimpleUnit unit)
Returns the next larger temporal unit for the given temporal unit, e.g.-
Methods inherited from class com.flexganttfx.model.dateline.DatelineModel
addResolution, addZoneId, clearResolutions, clearResolutions, getAvailableZoneIds, getMaxScaleCount, getMinScaleCount, getResolutions, getResolutions, getScaleCount, getTemporalUnits, maxScaleCountProperty, minScaleCountProperty, removeResolution, scaleCountProperty, setMaxScaleCount, setMinScaleCount, setScaleCount
-
-
-
-
Method Detail
-
nextTemporalUnit
public SimpleUnit nextTemporalUnit(SimpleUnit unit)
Description copied from class:DatelineModel
Returns the next larger temporal unit for the given temporal unit, e.g. when passingChronoUnit.HOURS
this method might returnChronoUnit.DAYS
.- Specified by:
nextTemporalUnit
in classDatelineModel<SimpleUnit>
- Parameters:
unit
- the unit for which to return the next higher unit- Returns:
- the next higher temporal unit
-
-