Table of Contents

Interface ITimeConversionOptions

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

Options for how to convert time to a different unit.

public interface ITimeConversionOptions

Examples

// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK;
            var timeConversionOptions = new TimeConversionOptions {
                Integral = false
            };

Remarks

ExampleMetadata: fixture=_generated

Properties

Integral

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

bool? Integral { get; }

Property Value

bool?

Remarks

Default: true