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>
public class Timestamp extends Date
Extension of Java date class to support Json serialization. Used in IoT service models.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Timestamp.Deserializer
Deserializer to convert JSON to Timestampstatic class
Timestamp.Serializer
Serializer to convert Timestamp to JSON
-
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 Detail
-
Timestamp
public Timestamp(Date date)
Timestamp constructor- Parameters:
date
- The date to use
-
-