A newer version of this page is available.
Switch to the current version.
TimeScale.Floor(DateTime) Method
Calculates the largest datetime value that is less or equal to the argument and contains an integer number of specified time units.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.2.Core.dll
Declaration
public abstract DateTime Floor(
DateTime date
)
Public MustOverride Function Floor(
date As Date
) As Date
Parameters
Name | Type | Description |
---|---|---|
date | DateTime | A DateTime value. |
Returns
Type | Description |
---|---|
DateTime | A DateTime value representing a datetime argument rounded to certain datetime unit. |
Remarks
This method should be overridden in descendants of the TimeScale class.
See Also
Feedback