month method

int month()

Implementation

int month() => (_month != null) ? DateTime.now().month : 0;