ceil method

DateTime ceil(
  1. int value,
  2. TimeUnit unit
)

Ceils this DateTime to the nearest value.

Implementation

DateTime ceil(int value, TimeUnit unit) => _adjust(value, unit, math.ceil);