Class ImmutableDate

    • Constructor Detail

      • ImmutableDate

        public ImmutableDate()
        Allocates a Date object and initializes it so that it represents the time at which it was allocated, measured to the nearest millisecond.
      • ImmutableDate

        public ImmutableDate​(long date)
        Allocates a Date object and initializes it to represent the specified number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT.
        Parameters:
        date - the milliseconds since January 1, 1970, 00:00:00 GMT.