rounded Up To Nearest
Returns this time, rounded up to the nearest hour that satisfies the increment.
The increment must multiply evenly into a 24-hour day.
Returns this time, rounded up to the nearest minute that satisfies the increment.
The increment must multiply evenly into an hour.
Returns this time, rounded up to the nearest second that satisfies the increment.
The increment must multiply evenly into a minute.
Returns this time, rounded up to the nearest millisecond that satisfies the increment.
The increment must multiply evenly into a second.
Returns this time, rounded up to the nearest microsecond that satisfies the increment.
The increment must multiply evenly into a second.
Returns this time, rounded up to the nearest nanosecond that satisfies the increment.
The increment must multiply evenly into a second.
Returns this date-time, rounded up to the nearest hour that satisfies the increment.
The increment must multiply evenly into a 24-hour day.
Returns this date-time, rounded up to the nearest minute that satisfies the increment.
The increment must multiply evenly into an hour.
Returns this date-time, rounded up to the nearest second that satisfies the increment.
The increment must multiply evenly into a minute.
Returns this date-time, rounded up to the nearest millisecond that satisfies the increment.
The increment must multiply evenly into a second.
Returns this date-time, rounded up to the nearest microsecond that satisfies the increment.
The increment must multiply evenly into a second.
Returns this date-time, rounded up to the nearest nanosecond that satisfies the increment.
The increment must multiply evenly into a second.
Returns this date-time, rounded up to the nearest hour that satisfies the increment.
The increment must multiply evenly into a 24-hour day.
Due to daylight savings time transitions, there a few complexities to be aware of. If the new local time falls within a gap (meaning it doesn't exist), it will be adjusted forward by the length of the gap. If it falls within an overlap (meaning the local time exists twice), the offset will be retained if possible. Otherwise, the earlier offset will be used.
Returns this date-time, rounded up to the nearest minute that satisfies the increment.
The increment must multiply evenly into an hour.
Due to daylight savings time transitions, there a few complexities to be aware of. If the new local time falls within a gap (meaning it doesn't exist), it will be adjusted forward by the length of the gap. If it falls within an overlap (meaning the local time exists twice), the offset will be retained if possible. Otherwise, the earlier offset will be used.
Returns this date-time, rounded up to the nearest second that satisfies the increment.
The increment must multiply evenly into a minute.
Due to daylight savings time transitions, there a few complexities to be aware of. If the new local time falls within a gap (meaning it doesn't exist), it will be adjusted forward by the length of the gap. If it falls within an overlap (meaning the local time exists twice), the offset will be retained if possible. Otherwise, the earlier offset will be used.
Returns this date-time, rounded up to the nearest millisecond that satisfies the increment.
The increment must multiply evenly into a second.
Due to daylight savings time transitions, there a few complexities to be aware of. If the new local time falls within a gap (meaning it doesn't exist), it will be adjusted forward by the length of the gap. If it falls within an overlap (meaning the local time exists twice), the offset will be retained if possible. Otherwise, the earlier offset will be used.
Returns this date-time, rounded up to the nearest microsecond that satisfies the increment.
The increment must multiply evenly into a second.
Due to daylight savings time transitions, there a few complexities to be aware of. If the new local time falls within a gap (meaning it doesn't exist), it will be adjusted forward by the length of the gap. If it falls within an overlap (meaning the local time exists twice), the offset will be retained if possible. Otherwise, the earlier offset will be used.
Returns this date-time, rounded up to the nearest nanosecond that satisfies the increment.
The increment must multiply evenly into a second.
Due to daylight savings time transitions, there a few complexities to be aware of. If the new local time falls within a gap (meaning it doesn't exist), it will be adjusted forward by the length of the gap. If it falls within an overlap (meaning the local time exists twice), the offset will be retained if possible. Otherwise, the earlier offset will be used.
Returns this instant, rounded up to the nearest hour that satisfies the increment.
The increment must multiply evenly into a 24-hour day.
Returns this instant, rounded up to the nearest minute that satisfies the increment.
The increment must multiply evenly into an hour.
Returns this instant, rounded up to the nearest second that satisfies the increment.
The increment must multiply evenly into a minute.
Returns this instant, rounded up to the nearest millisecond that satisfies the increment.
The increment must multiply evenly into a second.
Returns this instant, rounded up to the nearest microsecond that satisfies the increment.
The increment must multiply evenly into a second.