AFTimeSpan Constructor
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Initializes a new instance of the AFTimeSpan structure.
Overload List
| Name | Description | |
|---|---|---|
| AFTimeSpan(TimeSpan) |
Creates a new AFTimeSpan object from the specified TimeSpan.
| |
| AFTimeSpan(TimeSpan, AFTimeZone) |
Creates a new AFTimeSpan object from the specified TimeSpan and AFTimeZone.
| |
| AFTimeSpan(Int32, Int32, Int32, Double, Double, Double, Double) |
Creates a new AFTimeSpan object that optionally specifies the
number of years, months, days, hours, minutes, seconds, and milliseconds.
| |
| AFTimeSpan(AFTimeZone, Int32, Int32, Int32, Double, Double, Double, Double) |
Creates a new AFTimeSpan object from a specified AFTimeZone and
optionally specifies the number of years, months, days, hours, minutes, seconds, and milliseconds.
|