AutoAdjustingDateTimeTickProvider.createWithoutTime constructor

AutoAdjustingDateTimeTickProvider.createWithoutTime(
  1. DateTimeFactory dateTimeFactory
)

Creates a default AutoAdjustingDateTimeTickProvider for day only.

Implementation

factory AutoAdjustingDateTimeTickProvider.createWithoutTime(
    DateTimeFactory dateTimeFactory) {
  return AutoAdjustingDateTimeTickProvider._internal([
    createYearTickProvider(dateTimeFactory),
    createMonthTickProvider(dateTimeFactory),
    createDayTickProvider(dateTimeFactory)
  ]);
}