DateTimeExtensions Class

Contains extension methods related to dates and recurrences.

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static class DateTimeExtensions
Inheritance
Object  →  DateTimeExtensions

Methods

EndOfDay Returns the end of the day that contains the specified instant.
EndOfHour Returns the end of the hour that contains the specified instant.
EndOfMonth Returns the end of the month that contains the specified instant.
EndOfYear Returns the end of the year that contains the specified instant.
MonthsPerUnit Gets the number of months in the specified unit.
StartOfDay Returns the start of the day that contains the specified instant.
StartOfHour Returns the start of the hour that contains the specified instant.
StartOfMonth Returns the start of the month that contains the specified instant.
StartOfYear Returns the start of the year that contains the specified instant.
TicksPerUnit Gets the number of ticks in the specified unit.

See Also