Package io.jmix.uidata.dateinterval
Class RelativeDateTimeMomentProviderImpl
java.lang.Object
io.jmix.uidata.dateinterval.RelativeDateTimeMomentProviderImpl
- All Implemented Interfaces:
RelativeDateTimeMomentProvider
public class RelativeDateTimeMomentProviderImpl
extends Object
implements RelativeDateTimeMomentProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
RelativeDateTimeMomentProviderImpl
public RelativeDateTimeMomentProviderImpl()
-
-
Method Details
-
getRelativeDateTimeMoments
- Specified by:
getRelativeDateTimeMoments
in interfaceRelativeDateTimeMomentProvider
- Returns:
- all enum values
-
getRelativeTimeMoments
- Specified by:
getRelativeTimeMoments
in interfaceRelativeDateTimeMomentProvider
- Returns:
- enum values that correspond to time types
-
getByName
- Specified by:
getByName
in interfaceRelativeDateTimeMomentProvider
- Parameters:
name
- name of enum constant- Returns:
- enum value
-