DateBuilder NextGivenSecondDate Method Quartz.NET API Documentation
Returns a date that is rounded to the next even multiple of the given minute.

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

public static DateTimeOffset NextGivenSecondDate(
	Nullable<DateTimeOffset> date,
	int secondBase
)

Parameters

date
Type: System Nullable DateTimeOffset 
the Date to round, if   the current time will
secondBase
Type: System Int32
the base-second to set the time on

Return Value

Type: DateTimeOffset
the new rounded date
Remarks

The rules for calculating the second are the same as those for calculating the minute in the method NextGivenMinuteDate(Nullable DateTimeOffset , Int32).
See Also