DateTimeTypeAttribute class | QSYS API Reference Guide

A non-RPG class may stamp a System.DateTime member with this attribute to be considered as a fixed-sized date/time/timestamp field by a consumer RPG program.

Namespace: ASNA.QSys.Runtime Assembly: ASNA.QSys.Runtime.dll

Inheritance: Object –> Attribute

Constructors

Name Description
DateTimeTypeAttribute(Int32, Int32, Int32) Initializes a DateTimeTypeAttribute object. This attribute describes the implied fixed date/time kind, format, and separator of a DateTime value.

DateTimeTypeAttribute(Int32, Int32, Int32)

Initializes a DateTimeTypeAttribute object. This attribute describes the implied fixed date/time kind, format, and separator of a DateTime value.

DateTimeTypeAttribute(Int32, Int32, Int32)

Parameters

Type Parameter name Description
Int32 kind The DateTimeDataKind of this item.
Int32 format The DateTimeFormat of this item.
Int32 separator The DateTimeSeparator of this item.

Properties

Type Name Description
DateTimeFormat Format Gets the DateTimeFormat (*ISO, *USA, *HMS, etc.) of this item.
DateTimeDataKind Kind Gets the DateTimeDataKind (date, time, or timestamp) of this item.
DateTimeSeparator Separator Gets the DateTimeSeparator (‘/’, ‘.’, ‘:’, etc.) of this item.