TimeConversionOptions

class aws_cdk.core.TimeConversionOptions(*, integral=None)

Bases: object

__init__(*, integral=None)

Options for how to convert time to a different unit.

Parameters

integral (Optional[bool]) – If true, conversions into a larger time unit (e.g. Seconds to Mintues) will fail if the result is not an integer. Default: true

Attributes

integral

If true, conversions into a larger time unit (e.g. Seconds to Mintues) will fail if the result is not an integer.

default :default: true

Return type

Optional[bool]