findLastDateOfPreviousMonth static method

DateTime findLastDateOfPreviousMonth(
  1. DateTime dateTime
)

Implementation

static DateTime findLastDateOfPreviousMonth(DateTime dateTime) {
  final lastMonth = getLastMonth(dateTime);
  return findLastDateOfTheMonth(lastMonth);
}