Package google.registry.model
Class CreateAutoTimestamp
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.CreateAutoTimestamp
- All Implemented Interfaces:
UnsafeSerializable
,Serializable
,Cloneable
A timestamp that auto-updates when first saved to the database.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
Field Summary
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CreateAutoTimestamp
create
(org.joda.time.DateTime creationTime) org.joda.time.DateTime
Returns the timestamp.Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
CreateAutoTimestamp
public CreateAutoTimestamp()
-
-
Method Details
-
getTimestamp
@Nullable public org.joda.time.DateTime getTimestamp()Returns the timestamp. -
create
-