setMonth method

void setMonth(
  1. int month
)

Sets the month, it won't update the internal _time.

You must call finished method to apply all changes. Usually used in chain setting (Cascade).

Implementation

void setMonth(int month) => _values[Unit.m] = month;