@Stability(value=Stable) public static final class TimeConversionOptions.Builder extends Object
TimeConversionOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TimeConversionOptions |
build()
Builds the configured instance.
|
TimeConversionOptions.Builder |
integral(Boolean integral)
Sets the value of
TimeConversionOptions.getIntegral() |
@Stability(value=Stable) public TimeConversionOptions.Builder integral(Boolean integral)
TimeConversionOptions.getIntegral()integral - If `true`, conversions into a larger time unit (e.g. `Seconds` to `Minutes`) will fail if the result is not an integer.this@Stability(value=Stable) public TimeConversionOptions build()
TimeConversionOptionsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.