Class CalendarDateTime
Represents a calendar date and time.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CalendarDateTime : ICalendarDateTime
Syntax (vb)
Public Class CalendarDateTime Implements ICalendarDateTime
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.AWS.CloudWatch;
var calendarDateTime = new CalendarDateTime {
Day = 123,
Hour = 123,
Minute = 123,
Month = 123,
Year = 123
};
Synopsis
Constructors
| CalendarDateTime() | Represents a calendar date and time. |
Properties
| Day | The day of the date. |
| Hour | The hour of the time. |
| Minute | The minute of the time. |
| Month | The month of the date. |
| Year | The year of the date. |
Constructors
CalendarDateTime()
Represents a calendar date and time.
public CalendarDateTime()
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.AWS.CloudWatch;
var calendarDateTime = new CalendarDateTime {
Day = 123,
Hour = 123,
Minute = 123,
Month = 123,
Year = 123
};
Properties
Day
The day of the date.
public double Day { get; set; }
Property Value
Remarks
Valid range: 1-31
Hour
The hour of the time.
public double Hour { get; set; }
Property Value
Remarks
Valid range: 0-23
Minute
The minute of the time.
public double Minute { get; set; }
Property Value
Remarks
Valid range: 0-59
Month
The month of the date.
public double Month { get; set; }
Property Value
Remarks
Valid range: 1-12
Year
The year of the date.
public double Year { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated