@Retention(value=RUNTIME) @Target(value={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
public abstract String pattern
SimpleDateFormat
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.