Class YearMonthGroupBySupplier

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

public class YearMonthGroupBySupplier extends AbstractDateGroupBySupplier<YearMonth>
Year-month based group key supplier.
  • Constructor Details

    • YearMonthGroupBySupplier

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

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