Class UpdateAutoTimestamp

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

@Embeddable public class UpdateAutoTimestamp extends ImmutableObject implements UnsafeSerializable
A timestamp that auto-updates on each save to Cloud SQL.
See Also:
  • Constructor Details

    • UpdateAutoTimestamp

      public UpdateAutoTimestamp()
  • Method Details

    • getTimestamp

      public org.joda.time.DateTime getTimestamp()
      Returns the timestamp, or START_OF_TIME if it's null.
    • create

      public static UpdateAutoTimestamp create(@Nullable org.joda.time.DateTime timestamp)