Class TimeStamp


  • public class TimeStamp
    extends Object
    This object is a Git timestamp value holder independent from the underlying Git implementation.
    • Constructor Detail

      • TimeStamp

        public TimeStamp​(Date timeStamp,
                         TimeZone timeZone)
        Constructor.
        Parameters:
        timeStamp - the time stamp. Cannot be null
        timeZone - the time zone. May be null
    • Method Detail

      • getTimeStamp

        public Date getTimeStamp()
        Returns the time stamp.
        Returns:
        the time stamp. Never null.
      • getTimeZone

        public TimeZone getTimeZone()
        Returns the time zone.
        Returns:
        the time zone. May be null.