subtractMonths method
subtractMonths(): Subtracts a specified number of months from a DateTime.
Implementation
DateTime subtractMonths(int months) {
return DateTime(year, month - months, day, hour, minute, second,
millisecond, microsecond);
}