TimeConversionOptions¶
-
class
aws_cdk.core.
TimeConversionOptions
(*, integral=None)¶ Bases:
object
Options for how to convert time to a different unit.
- Parameters
integral (
Optional
[bool
]) – Iftrue
, conversions into a larger time unit (e.g.Seconds
toMinutes
) will fail if the result is not an integer. Default: true
Attributes
-
integral
¶ If
true
, conversions into a larger time unit (e.g.Seconds
toMinutes
) will fail if the result is not an integer.- Default
true
- Return type
Optional
[bool
]