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