final case classImmutableDate(millis: Long) extends Ordered[ImmutableDate] with Product with Serializable
Represents an immutable java.util.Date
This provides an immutable milliseconds since epoch representation of a date
when it might be a mismatch to use the newer java.time.Instance (which represents things
as nanoseconds since or before epoch)
NOTE: NOT extending AnyVal so that nulls still work (just like with java.util.Date)
Linear Supertypes
Serializable, Serializable, Product, Equals, Ordered[ImmutableDate], Comparable[ImmutableDate], AnyRef, Any
Represents an immutable java.util.Date
This provides an immutable milliseconds since epoch representation of a date when it might be a mismatch to use the newer java.time.Instance (which represents things as nanoseconds since or before epoch)
NOTE: NOT extending AnyVal so that nulls still work (just like with java.util.Date)