Class RelativeDateTimeMomentProvider

java.lang.Object
io.jmix.flowuidata.dateinterval.RelativeDateTimeMomentProvider

@Component("flowui_UiDataRelativeDateTimeMomentProvider") public class RelativeDateTimeMomentProvider extends Object
Provides enum values for relative date and time moments.
  • Constructor Details

    • RelativeDateTimeMomentProvider

      public RelativeDateTimeMomentProvider()
  • Method Details

    • getRelativeDateTimeMoments

      public List<Enum<?>> getRelativeDateTimeMoments()
      Returns:
      all enum values
    • getRelativeTimeMoments

      public List<Enum<?>> getRelativeTimeMoments()
      Returns:
      enum values that correspond to time types
    • getByName

      public Enum<?> getByName(String name)
      Parameters:
      name - name of enum constant
      Returns:
      enum value