Class DateInterval
java.lang.Object
io.jmix.ui.app.propertyfilter.dateinterval.model.DateInterval
- All Implemented Interfaces:
BaseDateInterval
,Function<String,
String>
Class describes date interval with the following types:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.app.propertyfilter.dateinterval.model.BaseDateInterval
BaseDateInterval.Type
-
Field Summary
Modifier and TypeFieldDescriptionprotected Boolean
protected final Integer
protected final DateInterval.TimeUnit
protected final BaseDateInterval.Type
-
Constructor Summary
ConstructorDescriptionDateInterval
(BaseDateInterval.Type type, Integer number, DateInterval.TimeUnit timeUnit, Boolean includingCurrent) -
Method Summary
-
Field Details
-
type
-
timeUnit
-
number
-
includingCurrent
-
-
Constructor Details
-
DateInterval
public DateInterval(BaseDateInterval.Type type, Integer number, DateInterval.TimeUnit timeUnit, @Nullable Boolean includingCurrent)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceBaseDateInterval
- Returns:
- type of date interval
-
getTimeUnit
-
getNumber
-
getIncludingCurrent
-
apply
-