firstDayOfMonth method
Returns a new DateTime
in the 1st day of the given month
Implementation
static DateTime firstDayOfMonth(DateTime month) {
return new DateTime(month.year, month.month);
}
Returns a new DateTime
in the 1st day of the given month
static DateTime firstDayOfMonth(DateTime month) {
return new DateTime(month.year, month.month);
}