getPrevious<T extends Period> method

T getPrevious<T extends Period>(
  1. PeriodGeneratorMixin<T> generator
)

Returns a new Period that starts before this using generator.

Implementation

T getPrevious<T extends Period>(PeriodGeneratorMixin<T> generator) =>
    generator.before(this);