DurationCellExtension extension
Provides accessors for Duration properties on cells holding a Duration.
Each accessor returns a ValueCell, of which the value is the value of the property.
Properties
-
inDays
→ ValueCell<
int> -
Available on ValueCell<
The duration in units of days, see Duration.inDaysDuration> , provided by the DurationCellExtension extensionno setter -
inHours
→ ValueCell<
int> -
Available on ValueCell<
The duration in units of hours, see Duration.inHoursDuration> , provided by the DurationCellExtension extensionno setter -
inMicroseconds
→ ValueCell<
int> -
Available on ValueCell<
The duration in units of microseconds, see Duration.inMicrosecondsDuration> , provided by the DurationCellExtension extensionno setter -
inMilliseconds
→ ValueCell<
int> -
Available on ValueCell<
The duration in units of milliseconds, see Duration.inMillisecondsDuration> , provided by the DurationCellExtension extensionno setter -
inMinutes
→ ValueCell<
int> -
Available on ValueCell<
The duration in units of minutes, see Duration.inMinutesDuration> , provided by the DurationCellExtension extensionno setter -
inSeconds
→ ValueCell<
int> -
Available on ValueCell<
The duration in units of seconds, see Duration.inSecondsDuration> , provided by the DurationCellExtension extensionno setter -
isNegative
→ ValueCell<
bool> -
Available on ValueCell<
Returns a cell, the value of which is true ifDuration> , provided by the DurationCellExtension extensionthis
is negative, see Duration.isNegative.no setter
Methods
-
abs(
) → ValueCell< Duration> -
Available on ValueCell<
Returns a cell holding a Duration of the same length as this but positive, see Duration.abs.Duration> , provided by the DurationCellExtension extension
Operators
-
operator *(
ValueCell< num> factor) → ValueCell<Duration> -
Available on ValueCell<
Returns a cell which holds the multiplication ofDuration> , provided by the DurationCellExtension extensionthis
byfactor
. -
operator +(
ValueCell< Duration> other) → ValueCell<Duration> -
Available on ValueCell<
Returns a cell which holds the sum ofDuration> , provided by the DurationCellExtension extensionthis
andother
. -
operator -(
ValueCell< Duration> other) → ValueCell<Duration> -
Available on ValueCell<
Returns a cell which holds the subtraction ofDuration> , provided by the DurationCellExtension extensionother
fromthis
. -
operator <(
ValueCell< Duration> other) → ValueCell<bool> -
Available on ValueCell<
Returns a cell of which the value is true ifDuration> , provided by the DurationCellExtension extensionthis
is less thanother
-
operator <=(
ValueCell< Duration> other) → ValueCell<bool> -
Available on ValueCell<
Returns a cell of which the value is true ifDuration> , provided by the DurationCellExtension extensionthis
is less than or equal toother
-
operator >(
ValueCell< Duration> other) → ValueCell<bool> -
Available on ValueCell<
Returns a cell of which the value is true ifDuration> , provided by the DurationCellExtension extensionthis
is greater thanother
-
operator >=(
ValueCell< Duration> other) → ValueCell<bool> -
Available on ValueCell<
Returns a cell of which the value is true ifDuration> , provided by the DurationCellExtension extensionthis
is greater than or equal toother
-
operator unary-(
) → ValueCell< Duration> -
Available on ValueCell<
Returns a cell which holds the negation ofDuration> , provided by the DurationCellExtension extensionthis
. -
operator ~/(
ValueCell< int> quotient) → ValueCell<Duration> -
Available on ValueCell<
Returns a cell which holds the division ofDuration> , provided by the DurationCellExtension extensionthis
byquotient
.