Class CreateAutoTimestamp

java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.CreateAutoTimestamp
All Implemented Interfaces:
UnsafeSerializable, Serializable, Cloneable

@Embeddable public class CreateAutoTimestamp extends ImmutableObject implements UnsafeSerializable
A timestamp that auto-updates when first saved to the database.
See Also:
  • Constructor Details

    • CreateAutoTimestamp

      public CreateAutoTimestamp()
  • Method Details

    • getTimestamp

      @Nullable public org.joda.time.DateTime getTimestamp()
      Returns the timestamp.
    • create

      public static CreateAutoTimestamp create(@Nullable org.joda.time.DateTime creationTime)