Uses of Class
org.apache.commons.net.ntp.TimeStamp
-
Packages that use TimeStamp Package Description org.apache.commons.net.ntp NTP - network time protocol -
-
Uses of TimeStamp in org.apache.commons.net.ntp
Methods in org.apache.commons.net.ntp that return TimeStamp Modifier and Type Method Description static TimeStampTimeStamp. getCurrentTime()Gets an NTP timestamp object and initializes it so that it represents the time at which it was allocated, measured to the nearest millisecond.static TimeStampTimeStamp. getNtpTime(long dateMillis)Gets an NTP timestamp object from a Java time.TimeStampNtpV3Impl. getOriginateTimeStamp()Gets theoriginatetime as defined in RFC-1305.TimeStampNtpV3Packet. getOriginateTimeStamp()Gets theoriginatetime as defined in RFC-1305.TimeStampNtpV3Impl. getReceiveTimeStamp()Gets thereceivetimestamp as defined in RFC-1305.TimeStampNtpV3Packet. getReceiveTimeStamp()Gets thereceivetime as defined in RFC-1305.TimeStampNtpV3Impl. getReferenceTimeStamp()Gets the reference time as defined in RFC-1305.TimeStampNtpV3Packet. getReferenceTimeStamp()Gets the reference time as defined in RFC-1305.private TimeStampNtpV3Impl. getTimestamp(int index)Gets the NTP Timestamp at specified starting index.TimeStampNtpV3Impl. getTransmitTimeStamp()Gets thetransmittimestamp as defined in RFC-1305.TimeStampNtpV3Packet. getTransmitTimeStamp()Gets thetransmittimestamp as defined in RFC-1305.static TimeStampTimeStamp. parseNtpString(java.lang.String s)Parses the string argument as a NTP hexidecimal timestamp representation string (e.g.Methods in org.apache.commons.net.ntp with parameters of type TimeStamp Modifier and Type Method Description intTimeStamp. compareTo(TimeStamp anotherTimeStamp)Compares two Timestamps numerically.voidNtpV3Impl. setOriginateTimeStamp(TimeStamp ts)Sets originate timestamp given NTP TimeStamp object.voidNtpV3Packet. setOriginateTimeStamp(TimeStamp ts)Sets originate timestamp given NTP TimeStamp object.voidNtpV3Impl. setReceiveTimeStamp(TimeStamp ts)Sets receive timestamp given NTP TimeStamp object.voidNtpV3Packet. setReceiveTimeStamp(TimeStamp ts)Sets receive timestamp given NTP TimeStamp object.voidNtpV3Impl. setReferenceTime(TimeStamp ts)Sets Reference time with NTP timestamp.voidNtpV3Packet. setReferenceTime(TimeStamp ts)Sets the reference timestamp given NTP TimeStamp object.private voidNtpV3Impl. setTimestamp(int index, TimeStamp t)Sets the NTP timestamp at the given array index.voidNtpV3Impl. setTransmitTime(TimeStamp ts)Sets transmit time with NTP timestamp.voidNtpV3Packet. setTransmitTime(TimeStamp ts)Sets thetransmittimestamp given NTP TimeStamp object.
-