Package software.amazon.awssdk.iot
Class Timestamp
java.lang.Object
java.util.Date
software.amazon.awssdk.iot.Timestamp
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Date>
Extension of Java date class to support Json serialization. Used in IoT service models.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeserializer to convert JSON to Timestampstatic classSerializer to convert Timestamp to JSON -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.Date
after, before, clone, compareTo, equals, from, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toInstant, toLocaleString, toString, UTC
-
Constructor Details
-
Timestamp
Timestamp constructor- Parameters:
date- The date to use
-