Interface CalendarDateTime
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CalendarDateTime.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:50:59.328Z")
@Stability(Stable)
public interface CalendarDateTime
extends software.amazon.jsii.JsiiSerializable
Represents a calendar date and time.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudwatch.*;
CalendarDateTime calendarDateTime = CalendarDateTime.builder()
.day(123)
.hour(123)
.minute(123)
.month(123)
.year(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCalendarDateTimestatic final classAn implementation forCalendarDateTime -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDay
The day of the date.Valid range: 1-31
-
getHour
The hour of the time.Valid range: 0-23
-
getMinute
The minute of the time.Valid range: 0-59
-
getMonth
The month of the date.Valid range: 1-12
-
getYear
The year of the date. -
builder
- Returns:
- a
CalendarDateTime.BuilderofCalendarDateTime
-