DateBuilderEvenMinuteDate Method

Quartz.NET 3.0 API Documentation
Returns a date that is rounded to the next even minute above the given date.

Namespace:  Quartz
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
public static DateTimeOffset EvenMinuteDate(
	Nullable<DateTimeOffset> date
)

Parameters

date
Type: SystemNullableDateTimeOffset
The Date to round, if the current time will be used

Return Value

Type: DateTimeOffset
The new rounded date
Remarks

For example an input date with a time of 08:13:54 would result in a date with the time of 08:14:00. If the date's time is in the 59th minute, then the hour (and possibly the day) will be promoted.
See Also

Reference