Table of Contents

DateTimeResolution Enum

Definition

Namespace
Bodu.Extensions
Assembly
Bodu.Core.dll
Package
Bodu.Core 1.0.1
Source
DateTimeResolution.cs

Specifies the resolution level for a DateTime value.

public enum DateTimeResolution
Extension Methods

Fields

Year = 0

Indicates resolution to a whole year.

Month = 1

Indicates resolution to a whole month.

Day = 2

Indicates resolution to a whole day.

Hour = 3

Indicates resolution to a whole hour.

Minute = 4

Indicates resolution to a whole minute.

Second = 5

Indicates resolution to a whole second.

Millisecond = 6

Indicates resolution to a whole millisecond.

Tick = 7

Indicates resolution to a whole tick.

Applies to

ProductVersions
.NET8, 10