Class ClockTime

java.lang.Object
edu.nps.moves.dis7.pdus.ClockTime
All Implemented Interfaces:
Serializable

public class ClockTime extends Object implements Serializable
Time measurements that exceed one hour are represented by this record. The first field is the hours since the unix epoch (Jan 1 1970, used by most Unix systems and java) and the second field the timestamp units since the top of the hour. Section 6.2.14
See Also:
  • Field Details

    • hour

      protected int hour
      Hours in UTC
    • timePastHour

      protected int timePastHour
      Time past the hour
  • Constructor Details

    • ClockTime

      public ClockTime()
      Constructor creates and configures a new instance object
  • Method Details