endOfNextMonth method

DateTime endOfNextMonth()

Returns a new DateTime of same timezone

Implementation

DateTime endOfNextMonth() =>
    DateTimeConstructors.withTimezone(isUtc, year, month + 1).endOfMonth();