DurationFormatHandling Enumeration

Specifies how durations are formatted when reading and writing JSON text.


Namespace: TcHmiSrv.Core.Tools.Json.Newtonsoft
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public enum DurationFormatHandling

Members

Member name

Value

Description

IsoDurationFormat

0

Durations are read and written in the ISO 8601 format.

MicrosoftDurationFormat

1

Durations are read and written in the Microsoft format specified by the TimeSpan.ToString, TimeSpan.TryParse and TimeSpan.TryParseExact method overloads.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiSrv.Core.Tools.Json.Newtonsoft Namespace

Copyright © Beckhoff Automation GmbH & Co. KG