This is the Time::Duration class version 1.0.
$duration = Duration()
Creates a new duration given the time components. All components are integers.
-
optional years: Int
-
optional months: Int
-
optional weeks: Int
-
optional days: Int
-
optional hours: Int
-
optional minutes: Int
-
optional seconds: Int
-
optional nanoseconds: Int
$duration.years
Computed property. Years.
$duration.months
Computed property. Months.
$duration.weeks
Computed property. Weeks.
$duration.days
Computed property. Days.
$duration.hours
Computed property. Hours.
$duration.minutes
Computed property. Minutes.
$duration.seconds
Computed property. Seconds.
$duration.nanoseconds
Computed property. Nanoseconds.
$duration + ($ehs: Duration)
Add two durations.
$duration - ($rhs: Duration)
Subtract a duration from this one.
$duration.copy()
Make a copy of this duration.
End of the Time::Duration class.
This file was generated automatically by the Ferret compiler from Duration.frt.