Table of Contents

Enum TimeOnlyUnits

Namespace
MongoDB.Bson.Serialization.Options
Assembly
MongoDB.Bson.dll

Represents the units a TimeOnly is serialized in.

public enum TimeOnlyUnits
Extension Methods

Fields

Ticks = 0

Use ticks as the units.

Hours = 1

Use hours as the units.

Minutes = 2

Use minutes as the units.

Seconds = 3

Use seconds as the units.

Milliseconds = 4

Use milliseconds as the units.

Microseconds = 5

Use microseconds as the units.

Nanoseconds = 6

Use nanoseconds as the units.