Next: endsWith, Previous: dispstrs, Up: API Alphabetically [Contents]
Represents durations or periods of time as an amount of fixed-length time (i.e. fixed-length seconds). It does not care about calendar things like months and days that vary in length over time.
This is an attempt to reproduce the functionality of Matlab’s duration. It
also contains some Octave-specific extensions.
double daysThe underlying datenums that represent the durations, as number of (whole and fractional) days. These are uniform 24-hour days, not calendar days.
This is a planar property: the size of days is the same size as the
containing duration array object.
char FormatThe format to display this duration in. Currently unsupported.
| • duration.ofDays | ||
| • duration.sizeof | ||
| • duration.years | ||
| • duration.hours | ||
| • duration.minutes | ||
| • duration.seconds | ||
| • duration.milliseconds | ||
| • duration.dispstrs | ||
| • duration.char | ||
| • duration.linspace |