This is preliminary documentation and is subject to change.

DateTimeExtensionsDateTruncate Enumeration

Precision specification for the {DateTime.}TruncateTo method

Definition

Namespace: MoreDateTime.Extensions
Assembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
C#
public enum DateTruncate

Members

Year 0 Precision Year, all below is set to 0
Month 1 Precision Month, all below is set to 0
Week 2 Precision Week, all below is set to 0
Day 3 Precision Day, all below is set to 0
Hour 4 Precision Hour, all below is set to 0
Minute 5 Precision Minute, all below is set to 0
Second 6 Precision Second, all below is set to 0

See Also