endOfLastDay method

DateTime endOfLastDay()

Returns a new DateTime of same timezone

Implementation

DateTime endOfLastDay() =>
    DateTimeConstructors.withTimezone(isUtc, year, month, day - 1).endOfDay();