Package software.amazon.awscdk
Interface TimeConversionOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TimeConversionOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:50:51.962Z")
@Stability(Stable)
public interface TimeConversionOptions
extends software.amazon.jsii.JsiiSerializable
Options for how to convert time to a different unit.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; TimeConversionOptions timeConversionOptions = TimeConversionOptions.builder() .integral(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTimeConversionOptions
static final class
An implementation forTimeConversionOptions
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIntegral
Iftrue
, conversions into a larger time unit (e.g.Seconds
toMinutes
) will fail if the result is not an integer.Default: true
-
builder
- Returns:
- a
TimeConversionOptions.Builder
ofTimeConversionOptions
-