Uses of Enum Class
net.pricefx.common.util.CalendarUtil.TimeUnit
Packages that use CalendarUtil.TimeUnit
Package
Description
Date and time-period helpers behind the Analytics calendar.
Formula engine interfaces exposed to Groovy logics.
-
Uses of CalendarUtil.TimeUnit in net.pricefx.common.util
Methods in net.pricefx.common.util that return CalendarUtil.TimeUnitModifier and TypeMethodDescriptionstatic CalendarUtil.TimeUnitReturns the unit with the given name, ignoring letter case.static CalendarUtil.TimeUnitCalendarUtil.TimeUnit.get(String unit, CalendarUtil.TimeUnit defaultValue) Returns the unit with the given name, ignoring letter case.CalendarUtil.TimePeriod.getTimeUnit()Returns the unit of the time period.static CalendarUtil.TimeUnitReturns the enum constant of this class with the specified name.static CalendarUtil.TimeUnit[]CalendarUtil.TimeUnit.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.pricefx.common.util with parameters of type CalendarUtil.TimeUnitModifier and TypeMethodDescriptionstatic CalendarUtil.TimeUnitCalendarUtil.TimeUnit.get(String unit, CalendarUtil.TimeUnit defaultValue) Returns the unit with the given name, ignoring letter case.CalendarUtil.getTimePeriodName(Date date, CalendarUtil.TimeUnit unit) Returns the name of the period of the given unit that contains the given date, for example"2026-M02"for 2026-02-15 andMONTH.CalendarUtil.getTimePeriods(Date startDate, Date endDate, CalendarUtil.TimeUnit unit) Returns the periods of the given unit, in date order, starting with the period that containsstartDate.Constructors in net.pricefx.common.util with parameters of type CalendarUtil.TimeUnitModifierConstructorDescriptionTimePeriod(Calendar cal, CalendarUtil.TimeUnit unit) Creates a single period of the given unit that contains the date of the given calendar.TimePeriod(Date startDate, Date endDate, CalendarUtil.TimeUnit unit) Creates a range from the period that containsstartDateto the period that containsendDate, both of the given unit.TimePeriod(Date startDate, CalendarUtil.TimeUnit unit) Creates a single period of the given unit that contains the given date.TimePeriod(CalendarUtil.TimePeriod startPeriod, CalendarUtil.TimePeriod endPeriod, CalendarUtil.TimeUnit unit) Creates a range from the start ofstartPeriodto the end ofendPeriod, in the given unit. -
Uses of CalendarUtil.TimeUnit in net.pricefx.formulaengine
Methods in net.pricefx.formulaengine with parameters of type CalendarUtil.TimeUnitModifier and TypeMethodDescriptionDatamartContext.Calendar.getTimePeriods(Date startDate, Date endDate, CalendarUtil.TimeUnit unit)