Show / Hide Table of Contents

Class TimeConversionOptions

Options for how to convert time to a different unit.

Inheritance
object
TimeConversionOptions
Implements
ITimeConversionOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TimeConversionOptions : ITimeConversionOptions
Syntax (vb)
Public Class TimeConversionOptions Implements ITimeConversionOptions
Remarks

ExampleMetadata: fixture=_generated

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
            };

Synopsis

Constructors

TimeConversionOptions()

Options for how to convert time to a different unit.

Properties

Integral

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

Constructors

TimeConversionOptions()

Options for how to convert time to a different unit.

public TimeConversionOptions()
Remarks

ExampleMetadata: fixture=_generated

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
            };

Properties

Integral

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

public bool? Integral { get; set; }
Property Value

bool?

Remarks

Default: true

Implements

ITimeConversionOptions
Back to top Generated by DocFX