TomlDateTime(DateTimeOffset, Int32, TomlDateTimeKind) Constructor

Definition

Namespace Tomlyn
Assembly Tomlyn.dll

A datetime value that can represent a TOML

  • An offset DateTime with Zero offset or Number offset.
  • A local DateTime.
  • A local Date.
  • A local Time.
public TomlDateTime(DateTimeOffset DateTime, int SecondPrecision, TomlDateTimeKind Kind)

Parameters

DateTime
DateTimeOffset

The datetime offset.

SecondPrecision
Int32

The precision of milliseconds.

Kind
TomlDateTimeKind

The kind of datetime offset.