Class TimestampJson


  • public class TimestampJson
    extends java.lang.Object
    Serialization class for java Date objects. We use DATETIME types for storing our timestamps in mysql. DATETIME only stores at seconds precision by default. In the REST api when we create an object the timestamps will have milliseconds precision but on subsequent fetchs the timestamps will only have seconds precision. This enforces the timestamp fields to only ever have seconds precision.
    • Constructor Summary

      Constructors 
      Constructor Description
      TimestampJson()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TimestampJson

        public TimestampJson()