isNow method

bool isNow()

是否为今天

Implementation

bool isNow() {
  return day == DateTime.now().day &&
      month == DateTime.now().month &&
      year == DateTime.now().year;
}