DurationMax Unit Enumeration
This enumerated type defines the maximum unit of time allowed when converting a duration to its ISO
8601 string format.
Definition
Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
[SerializableAttribute]
public enum MaxUnitVB
<SerializableAttribute>
Public Enumeration MaxUnitC++
[SerializableAttribute]
public enum class MaxUnitF#
[<SerializableAttribute>]
type MaxUnitMembers
| Years | 0 | Full syntax, all parts represented |
| Months | 1 | Time expressed in units up to months |
| Weeks | 2 | Time expressed in units up to weeks |
| Days | 3 | Time expressed in units up to days |
| Hours | 4 | Time expressed in units up to hours |
| Minutes | 5 | Time expressed in units up to minutes |
| Seconds | 6 | Time expressed in units up to seconds |