DateBuilderEvenSecondDateBefore Method

Quartz.NET 3.0 API Documentation
Returns a date that is rounded to the previous even second below the given date.

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

C#
public static DateTimeOffset EvenSecondDateBefore(
	DateTimeOffset date
)

Parameters

date
Type: SystemDateTimeOffset

Return Value

Type: DateTimeOffset
the new rounded date
Remarks

For example an input date with a time of 08:13:54.341 would result in a date with the time of 08:13:00.000.

See Also

Reference