org.irig106.chapter10.packets
Class TimePacket_Format1

java.lang.Object
  extended by org.irig106.chapter10.packets.TimePacket_Format1

public class TimePacket_Format1
extends java.lang.Object

IRIG 106 Chapter 10 Time Packet (Format 1)

Author:
David Pinto

Nested Class Summary
 class TimePacket_Format1.ChannelSpecificDataWord
          Channel Specific Data Word (Time Packet, Format 1)
static class TimePacket_Format1.TimeFormat
          Time Format Definitions (Time Data Packet, Format 1)
static class TimePacket_Format1.TimeSource
          Time Source Definitions (Time Data Packet, Format 1)
 
Constructor Summary
TimePacket_Format1(byte[] packetBodyData)
          Creates a new instance of TimeDataFormat1
 
Method Summary
 java.util.Date getDate()
           
 long getIRIGTime()
          GET/SET METHODS
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimePacket_Format1

public TimePacket_Format1(byte[] packetBodyData)
                   throws java.lang.Exception
Creates a new instance of TimeDataFormat1

Throws:
java.lang.Exception
Method Detail

getIRIGTime

public long getIRIGTime()
GET/SET METHODS


getDate

public java.util.Date getDate()
                       throws java.lang.Exception
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object