Packages that use TimeUnit
Uses of TimeUnit in org.rrd4j.graph
Subclasses with type arguments of type TimeUnit in org.rrd4j.graphFields in org.rrd4j.graph declared as TimeUnitModifier and TypeFieldDescription(package private) final TimeUnitTimeAxisSetting.labelUnitInterval between axis labels.(package private) final TimeUnitTimeAxisSetting.majorUnitInterval between major grid lines.(package private) final TimeUnitTimeAxisSetting.minorUnitInterval between minor grid lines.Fields in org.rrd4j.graph with type parameters of type TimeUnitModifier and TypeFieldDescription(package private) java.util.function.Function<TimeUnit, Optional<TimeLabelFormat>> RrdGraphDef.formatProviderProvider that returns a TimeLabelFormat based on the TimeUnit.Methods in org.rrd4j.graph that return TimeUnitModifier and TypeMethodDescriptionstatic TimeUnitTimeUnit.resolveUnit(int unitKey) Map aCalendarfield constant to the matching time unit.static TimeUnitReturns the enum constant of this class with the specified name.static TimeUnit[]TimeUnit.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.rrd4j.graph with parameters of type TimeUnitModifier and TypeMethodDescriptionprivate voidTimeAxis.adjustStartingTime(TimeUnit timeUnit, int timeUnitCount) Adjust starting timeprivate voidTimeAxis.findNextTime(TimeUnit timeUnit, int timeUnitCount) Find next timeMethod parameters in org.rrd4j.graph with type arguments of type TimeUnitModifier and TypeMethodDescriptionvoidRrdGraphDef.setTimeLabelFormatter(java.util.function.Function<TimeUnit, Optional<TimeLabelFormat>> formatProvider) This allows to keep the default major and minor grid unit, but with changing only the label formatting, that will be formatted differently according toTimeUnitchosen for the time axis.Constructors in org.rrd4j.graph with parameters of type TimeUnitModifierConstructorDescription(package private)TimeAxisSetting(long secPerPix, TimeUnit minorUnit, int minorUnitCount, TimeUnit majorUnit, int majorUnitCount, TimeUnit labelUnit, int labelUnitCount, int labelSpan) Configure a time axis with a default label format.(package private)TimeAxisSetting(long secPerPix, TimeUnit minorUnit, int minorUnitCount, TimeUnit majorUnit, int majorUnitCount, TimeUnit labelUnit, int labelUnitCount, int labelSpan, TimeLabelFormat format) Configure a time axis.