findFirstDateOfPreviousMonth static method

DateTime findFirstDateOfPreviousMonth(
  1. DateTime dateTime
)

Implementation

static DateTime findFirstDateOfPreviousMonth(DateTime dateTime) {
  final lastMonth = getLastMonth(dateTime);
  return findFirstDateOfTheMonth(lastMonth);
}