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 SummaryNested Classes Modifier and Type Class Description static classTimestamp.DeserializerDeserializer to convert JSON to Timestampstatic classTimestamp.SerializerSerializer to convert Timestamp to JSON
 - 
Method Summary- 
Methods inherited from class java.util.Dateafter, 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- 
Timestamppublic Timestamp(Date date) Timestamp constructor- Parameters:
- date- The date to use
 
 
- 
 
-