of abstract method

T of(
  1. DateTime date
)

Returns the period of the given date considering the generator type.

Implementation

T of(DateTime date);