@Retention(RUNTIME) @Target({TYPE,FIELD,METHOD}) public @interface DynamoDbTypeConvertedTimestamp
@DynamoDBTypeConvertedTimestamp(pattern="yyyyMMddHHmmssSSS", timeZone="UTC") public Date getCreatedDate()
Supports the standard Date
type-conversions; such as
Calendar
, Long
.
Primitives such as long
are not supported since the unset
(or null) state can't be detected.
Compatible with DynamoDbAutoGeneratedTimestamp
String pattern
SimpleDateFormat
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.