Class YearMonthDayGroupBySupplier

java.lang.Object
me.ahoo.cosid.segment.grouped.date.AbstractDateGroupBySupplier<LocalDate>
me.ahoo.cosid.segment.grouped.date.YearMonthDayGroupBySupplier
All Implemented Interfaces:
Supplier<GroupedKey>, GroupBySupplier

public class YearMonthDayGroupBySupplier extends AbstractDateGroupBySupplier<LocalDate>
Year-month-day based group key supplier.
  • Constructor Details

    • YearMonthDayGroupBySupplier

      public YearMonthDayGroupBySupplier(DateTimeFormatter formatter)
      Creates a supplier with the specified formatter.
      Parameters:
      formatter - the date formatter
    • YearMonthDayGroupBySupplier

      public YearMonthDayGroupBySupplier(String pattern)
      Creates a supplier with the specified pattern.
      Parameters:
      pattern - the date format pattern