AFTimeSpan Constructor
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- 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.
|