BinOp
org.abh80.nf.core.time.TimeFormat.BinOp
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Multiplies the time value by a scalar.
Multiplies the time value by a scalar.
Value parameters
- scalar
-
The non-negative scalar value to multiply by
Attributes
- Returns
-
A new TimeFormat instance representing the product
- Throws
-
IllegalArgumentException
if scalar is negative
Adds two TimeFormat instances.
Adds two TimeFormat instances.
Value parameters
- second
-
The TimeFormat instance to add
Attributes
- Returns
-
A new TimeFormat instance representing the sum
Subtracts one TimeFormat instance from another.
Subtracts one TimeFormat instance from another.
Value parameters
- second
-
The TimeFormat instance to subtract
Attributes
- Returns
-
A new TimeFormat instance representing the difference
Divides the time value by a scalar.
Divides the time value by a scalar.
Value parameters
- scalar
-
The positive scalar value to divide by
Attributes
- Returns
-
A new TimeFormat instance representing the quotient
- Throws
-
IllegalArgumentException
if scalar is not positive
In this article