Class Pdu
java.lang.Object
edu.nps.moves.dis7.pdus.Pdu
- All Implemented Interfaces:
Marshaller
,Serializable
- Direct Known Subclasses:
LiveEntityFamilyPdu
,PduBase
Base class of PduBase and LiveEntityPdu
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte
Exercise ID provides a unique identifierprotected short
Length, in bytes, of the PDUstatic final String
The name of this PDU typeprotected DisPduType
Type of pdu, unique for each PDU class uid 4protected DISProtocolFamily
value that refers to the protocol family, eg SimulationManagement, et uid 5protected DISProtocolVersion
The version of the protocol. 5=DIS-1995, 6=DIS-1998, 7=DIS-2012 uid 3protected int
Timestamp value, int representing number of 1.675 microseconds as interval past hour -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate deep copy of current object using PduFactory.boolean
boolean
equalsImpl
(Object obj) Compare all fields that contribute to the state, ignoring transient and static fields, forthis
and the supplied objectbyte
Getter forexerciseID
short
Getter forlength
int
Returns size of this serialized (marshalled) object in bytesGetter forpduType
Getter forprotocolFamily
Getter forprotocolVersion
int
Getter fortimestamp
Warning: this method gets a DIS bit patterndouble
Utility getter fortimestamp
converting integer timestamp at 2^31 - 1 units past top of hour to double (or float)int
hashCode()
boolean
Whether this instance is an AcknowledgeRPduboolean
Whether this instance is an ActionRequestPduboolean
Whether this instance is an ActionRequestRPduboolean
Whether this instance is an ActionResponsePduboolean
Whether this instance is an ActionResponseRPduboolean
Whether this instance is an AggregateStatePduboolean
Whether this instance is an AppearancePduboolean
Whether this instance is an ArealObjectStatePduboolean
Whether this instance is an ArticulatedPartsPduboolean
Whether this instance is an AttributePduboolean
Whether this instance is an CollisionElasticPduboolean
Whether this instance is an CollisionPduboolean
Whether this instance is an CommentPduboolean
Whether this instance is an CommentRPduboolean
Whether this instance is an CreateEntityPduboolean
Whether this instance is an CreateEntityRPduboolean
Whether this instance is an DataPduboolean
Whether this instance is an DataQueryPduboolean
Whether this instance is an DataQueryRPduboolean
Whether this instance is an DataRPduboolean
Whether this instance is an DesignatorPduboolean
Whether this instance is an DetonationPduboolean
Whether this instance is an DirectedEnergyFirePduboolean
Whether this instance has a DistributedEmissionsRegenerationFamilyPdu superclassboolean
Whether this instance is an ElectromagneticEmissionPduboolean
Whether this instance is an EntityDamageStatusPduboolean
Whether this instance has an EntityInformationInteractionFamilyPdu superclassboolean
Whether this instance has an EntityManagementFamilyPdu superclassboolean
Whether this instance is an EntityStatePduboolean
Whether this instance is an EntityStateUpdatePduboolean
Whether this instance is an EnvironmentalProcessPduboolean
Whether this instance is an EventReportPduboolean
Whether this instance is an EventReportRPduboolean
Whether this instance is an FirePduboolean
Whether this instance is an GriddedDataPduboolean
isIFFPdu()
Whether this instance is an IFFPduboolean
Whether this instance is an InformationOperationsActionPduboolean
Whether this instance has an InformationOperationsFamilyPdu superclassboolean
Whether this instance is an InformationOperationsReportPduboolean
Whether this instance is an IntercomControlPduboolean
Whether this instance is an IntercomSignalPduboolean
Whether this instance is an IsGroupOfPduboolean
Whether this instance is an IsPartOfPduboolean
Whether this instance is an LEDetonationPduboolean
Whether this instance is an LEFirePduboolean
Whether this instance is an LinearObjectStatePduboolean
Whether this instance is an LiveEntityDetonationPduboolean
Whether this instance is an LiveEntityFirePduboolean
Whether this instance has a LogisticsFamilyPdu superclassboolean
Whether this instance is an MinefieldDataPduboolean
Whether this instance has a MinefieldFamilyPdu superclassboolean
Whether this instance is an MinefieldQueryPduboolean
Whether this instance is an MinefieldResponseNACKPduboolean
Whether this instance is an MinefieldStatePduboolean
Whether this instance is an PointObjectStatePduboolean
Whether this instance has a RadioCommunicationsFamilyPdu superclassboolean
Whether this instance is an ReceiverPduboolean
Whether this instance is an RecordQueryRPduboolean
Whether this instance is an RecordRPduboolean
Whether this instance is a Reliable Pdu with guaranteed deliveryboolean
Whether this instance is an RemoveEntityPduboolean
Whether this instance is an RemoveEntityRPduboolean
Whether this instance is an RepairCompletePduboolean
Whether this instance is an RepairResponsePduboolean
Whether this instance is an ResupplyCancelPduboolean
Whether this instance is an ResupplyOfferPduboolean
Whether this instance is an ResupplyReceivedPduboolean
Whether this instance is an SEESPduboolean
Whether this instance is an SetDataPduboolean
Whether this instance is an SetDataRPduboolean
Whether this instance is an SetRecordRPduboolean
Whether this instance is an SignalPduboolean
Whether this instance has a SimulationManagementFamilyPdu superclassboolean
Whether this instance has a SimulationManagementWithReliabilityFamilyPdu superclassboolean
Whether this instance is an StartResumePduboolean
Whether this instance is an StartResumeRPduboolean
Whether this instance is an StopFreezePduboolean
Whether this instance is an StopFreezeRPduboolean
Whether this instance is an SupplementalEmissionEntityStatePduboolean
Whether this instance has a SyntheticEnvironmentFamilyPdu superclassboolean
Whether this instance is an TransferOwnershipPduboolean
Whether this instance is an TransmitterPduboolean
Whether this instance is an TSPIPduboolean
Whether this instance is an UnderwaterAcousticPduboolean
Whether this instance has a WarfareFamilyPdu superclassmarshal()
A convenience method for marshalling to a ByteBuffervoid
marshal
(DataOutputStream dos) Serializes an object to a DataOutputStream.void
marshal
(ByteBuffer byteBuffer) Packs an object into the ByteBuffer.boolean
occursAfter
(Pdu pdu2) Whether or not timestamp for this Pdu occurs after timestamp as another Pdu.boolean
occursBefore
(Pdu pdu2) Whether or not timestamp for this Pdu occurs before timestamp as another Pdu.boolean
occursSameTime
(Pdu pdu2) Whether or not this Pdu occurs at same timestamp as another Pdu.setExerciseID
(byte pExerciseID) Setter forexerciseID
setExerciseID
(int pExerciseID) Utility setter forexerciseID
setLength
(int pLength) Utility setter forlength
setLength
(short pLength) Setter forlength
setPduType
(DisPduType pPduType) Setter forpduType
setProtocolFamily
(DISProtocolFamily pProtocolFamily) Setter forprotocolFamily
setProtocolVersion
(DISProtocolVersion pProtocolVersion) Setter forprotocolVersion
setTimestamp
(int pTimestamp) Setter fortimestamp
Warning: this method sets a DIS bit patternsetTimestampSeconds
(double newTimestamp) Utility setter fortimestamp
converting double (or float) to Timestamp in seconds at 2^31 - 1 units past top of hourtoString()
int
unmarshal
(DataInputStream dis) Deserializes an object from a DataInputStream.int
unmarshal
(ByteBuffer byteBuffer) Unpacks a Pdu from the underlying data.
-
Field Details
-
NAME
-
protocolVersion
The version of the protocol. 5=DIS-1995, 6=DIS-1998, 7=DIS-2012 uid 3 -
exerciseID
protected byte exerciseIDExercise ID provides a unique identifier -
pduType
Type of pdu, unique for each PDU class uid 4 -
protocolFamily
value that refers to the protocol family, eg SimulationManagement, et uid 5 -
timestamp
protected int timestampTimestamp value, int representing number of 1.675 microseconds as interval past hour -
length
protected short lengthLength, in bytes, of the PDU
-
-
Constructor Details
-
Pdu
public Pdu()Constructor creates and configures a new instance object
-
-
Method Details
-
isReliablePdu
public boolean isReliablePdu()Whether this instance is a Reliable Pdu with guaranteed delivery- Returns:
- whether reliable
-
isDistributedEmissionsRegenerationFamilyPdu
public boolean isDistributedEmissionsRegenerationFamilyPdu()Whether this instance has a DistributedEmissionsRegenerationFamilyPdu superclass- Returns:
- whether this supertype is inherited
-
isEntityInformationInteractionFamilyPdu
public boolean isEntityInformationInteractionFamilyPdu()Whether this instance has an EntityInformationInteractionFamilyPdu superclass- Returns:
- whether this supertype is inherited
-
isEntityManagementFamilyPdu
public boolean isEntityManagementFamilyPdu()Whether this instance has an EntityManagementFamilyPdu superclass- Returns:
- whether this supertype is inherited
-
isInformationOperationsFamilyPdu
public boolean isInformationOperationsFamilyPdu()Whether this instance has an InformationOperationsFamilyPdu superclass- Returns:
- whether this supertype is inherited
-
isLogisticsFamilyPdu
public boolean isLogisticsFamilyPdu()Whether this instance has a LogisticsFamilyPdu superclass- Returns:
- whether this supertype is inherited
-
isMinefieldFamilyPdu
public boolean isMinefieldFamilyPdu()Whether this instance has a MinefieldFamilyPdu superclass- Returns:
- whether this supertype is inherited
-
isRadioCommunicationsFamilyPdu
public boolean isRadioCommunicationsFamilyPdu()Whether this instance has a RadioCommunicationsFamilyPdu superclass- Returns:
- whether this supertype is inherited
-
isSimulationManagementFamilyPdu
public boolean isSimulationManagementFamilyPdu()Whether this instance has a SimulationManagementFamilyPdu superclass- Returns:
- whether this supertype is inherited
-
isSimulationManagementWithReliabilityFamilyPdu
public boolean isSimulationManagementWithReliabilityFamilyPdu()Whether this instance has a SimulationManagementWithReliabilityFamilyPdu superclass- Returns:
- whether this supertype is inherited
-
isSyntheticEnvironmentFamilyPdu
public boolean isSyntheticEnvironmentFamilyPdu()Whether this instance has a SyntheticEnvironmentFamilyPdu superclass- Returns:
- whether this supertype is inherited
-
isWarfareFamilyPdu
public boolean isWarfareFamilyPdu()Whether this instance has a WarfareFamilyPdu superclass- Returns:
- whether this supertype is inherited
-
isAcknowledgeRPdu
public boolean isAcknowledgeRPdu()Whether this instance is an AcknowledgeRPdu- Returns:
- whether this type of Pdu
-
isActionRequestPdu
public boolean isActionRequestPdu()Whether this instance is an ActionRequestPdu- Returns:
- whether this type of Pdu
-
isActionRequestRPdu
public boolean isActionRequestRPdu()Whether this instance is an ActionRequestRPdu- Returns:
- whether this type of Pdu
-
isActionResponsePdu
public boolean isActionResponsePdu()Whether this instance is an ActionResponsePdu- Returns:
- whether this type of Pdu
-
isActionResponseRPdu
public boolean isActionResponseRPdu()Whether this instance is an ActionResponseRPdu- Returns:
- whether this type of Pdu
-
isAggregateStatePdu
public boolean isAggregateStatePdu()Whether this instance is an AggregateStatePdu- Returns:
- whether this type of Pdu
-
isAppearancePdu
public boolean isAppearancePdu()Whether this instance is an AppearancePdu- Returns:
- whether this type of Pdu
-
isArealObjectStatePdu
public boolean isArealObjectStatePdu()Whether this instance is an ArealObjectStatePdu- Returns:
- whether this type of Pdu
-
isArticulatedPartsPdu
public boolean isArticulatedPartsPdu()Whether this instance is an ArticulatedPartsPdu- Returns:
- whether this type of Pdu
-
isAttributePdu
public boolean isAttributePdu()Whether this instance is an AttributePdu- Returns:
- whether this type of Pdu
-
isCollisionElasticPdu
public boolean isCollisionElasticPdu()Whether this instance is an CollisionElasticPdu- Returns:
- whether this type of Pdu
-
isCollisionPdu
public boolean isCollisionPdu()Whether this instance is an CollisionPdu- Returns:
- whether this type of Pdu
-
isCommentPdu
public boolean isCommentPdu()Whether this instance is an CommentPdu- Returns:
- whether this type of Pdu
-
isCommentRPdu
public boolean isCommentRPdu()Whether this instance is an CommentRPdu- Returns:
- whether this type of Pdu
-
isCreateEntityPdu
public boolean isCreateEntityPdu()Whether this instance is an CreateEntityPdu- Returns:
- whether this type of Pdu
-
isCreateEntityRPdu
public boolean isCreateEntityRPdu()Whether this instance is an CreateEntityRPdu- Returns:
- whether this type of Pdu
-
isDataPdu
public boolean isDataPdu()Whether this instance is an DataPdu- Returns:
- whether this type of Pdu
-
isDataQueryPdu
public boolean isDataQueryPdu()Whether this instance is an DataQueryPdu- Returns:
- whether this type of Pdu
-
isDataQueryRPdu
public boolean isDataQueryRPdu()Whether this instance is an DataQueryRPdu- Returns:
- whether this type of Pdu
-
isDataRPdu
public boolean isDataRPdu()Whether this instance is an DataRPdu- Returns:
- whether this type of Pdu
-
isDesignatorPdu
public boolean isDesignatorPdu()Whether this instance is an DesignatorPdu- Returns:
- whether this type of Pdu
-
isDetonationPdu
public boolean isDetonationPdu()Whether this instance is an DetonationPdu- Returns:
- whether this type of Pdu
-
isDirectedEnergyFirePdu
public boolean isDirectedEnergyFirePdu()Whether this instance is an DirectedEnergyFirePdu- Returns:
- whether this type of Pdu
-
isElectromagneticEmissionPdu
public boolean isElectromagneticEmissionPdu()Whether this instance is an ElectromagneticEmissionPdu- Returns:
- whether this type of Pdu
-
isEntityDamageStatusPdu
public boolean isEntityDamageStatusPdu()Whether this instance is an EntityDamageStatusPdu- Returns:
- whether this type of Pdu
-
isEntityStatePdu
public boolean isEntityStatePdu()Whether this instance is an EntityStatePdu- Returns:
- whether this type of Pdu
-
isEntityStateUpdatePdu
public boolean isEntityStateUpdatePdu()Whether this instance is an EntityStateUpdatePdu- Returns:
- whether this type of Pdu
-
isEnvironmentalProcessPdu
public boolean isEnvironmentalProcessPdu()Whether this instance is an EnvironmentalProcessPdu- Returns:
- whether this type of Pdu
-
isEventReportPdu
public boolean isEventReportPdu()Whether this instance is an EventReportPdu- Returns:
- whether this type of Pdu
-
isEventReportRPdu
public boolean isEventReportRPdu()Whether this instance is an EventReportRPdu- Returns:
- whether this type of Pdu
-
isFirePdu
public boolean isFirePdu()Whether this instance is an FirePdu- Returns:
- whether this type of Pdu
-
isGriddedDataPdu
public boolean isGriddedDataPdu()Whether this instance is an GriddedDataPdu- Returns:
- whether this type of Pdu
-
isIFFPdu
public boolean isIFFPdu()Whether this instance is an IFFPdu- Returns:
- whether this type of Pdu
-
isInformationOperationsActionPdu
public boolean isInformationOperationsActionPdu()Whether this instance is an InformationOperationsActionPdu- Returns:
- whether this type of Pdu
-
isInformationOperationsReportPdu
public boolean isInformationOperationsReportPdu()Whether this instance is an InformationOperationsReportPdu- Returns:
- whether this type of Pdu
-
isIntercomControlPdu
public boolean isIntercomControlPdu()Whether this instance is an IntercomControlPdu- Returns:
- whether this type of Pdu
-
isIntercomSignalPdu
public boolean isIntercomSignalPdu()Whether this instance is an IntercomSignalPdu- Returns:
- whether this type of Pdu
-
isIsGroupOfPdu
public boolean isIsGroupOfPdu()Whether this instance is an IsGroupOfPdu- Returns:
- whether this type of Pdu
-
isIsPartOfPdu
public boolean isIsPartOfPdu()Whether this instance is an IsPartOfPdu- Returns:
- whether this type of Pdu
-
isLEDetonationPdu
public boolean isLEDetonationPdu()Whether this instance is an LEDetonationPdu- Returns:
- whether this type of Pdu
-
isLEFirePdu
public boolean isLEFirePdu()Whether this instance is an LEFirePdu- Returns:
- whether this type of Pdu
-
isLinearObjectStatePdu
public boolean isLinearObjectStatePdu()Whether this instance is an LinearObjectStatePdu- Returns:
- whether this type of Pdu
-
isLiveEntityDetonationPdu
public boolean isLiveEntityDetonationPdu()Whether this instance is an LiveEntityDetonationPdu- Returns:
- whether this type of Pdu
-
isLiveEntityFirePdu
public boolean isLiveEntityFirePdu()Whether this instance is an LiveEntityFirePdu- Returns:
- whether this type of Pdu
-
isMinefieldDataPdu
public boolean isMinefieldDataPdu()Whether this instance is an MinefieldDataPdu- Returns:
- whether this type of Pdu
-
isMinefieldQueryPdu
public boolean isMinefieldQueryPdu()Whether this instance is an MinefieldQueryPdu- Returns:
- whether this type of Pdu
-
isMinefieldResponseNACKPdu
public boolean isMinefieldResponseNACKPdu()Whether this instance is an MinefieldResponseNACKPdu- Returns:
- whether this type of Pdu
-
isMinefieldStatePdu
public boolean isMinefieldStatePdu()Whether this instance is an MinefieldStatePdu- Returns:
- whether this type of Pdu
-
isPointObjectStatePdu
public boolean isPointObjectStatePdu()Whether this instance is an PointObjectStatePdu- Returns:
- whether this type of Pdu
-
isReceiverPdu
public boolean isReceiverPdu()Whether this instance is an ReceiverPdu- Returns:
- whether this type of Pdu
-
isRecordQueryRPdu
public boolean isRecordQueryRPdu()Whether this instance is an RecordQueryRPdu- Returns:
- whether this type of Pdu
-
isRecordRPdu
public boolean isRecordRPdu()Whether this instance is an RecordRPdu- Returns:
- whether this type of Pdu
-
isRemoveEntityPdu
public boolean isRemoveEntityPdu()Whether this instance is an RemoveEntityPdu- Returns:
- whether this type of Pdu
-
isRemoveEntityRPdu
public boolean isRemoveEntityRPdu()Whether this instance is an RemoveEntityRPdu- Returns:
- whether this type of Pdu
-
isRepairCompletePdu
public boolean isRepairCompletePdu()Whether this instance is an RepairCompletePdu- Returns:
- whether this type of Pdu
-
isRepairResponsePdu
public boolean isRepairResponsePdu()Whether this instance is an RepairResponsePdu- Returns:
- whether this type of Pdu
-
isResupplyCancelPdu
public boolean isResupplyCancelPdu()Whether this instance is an ResupplyCancelPdu- Returns:
- whether this type of Pdu
-
isResupplyOfferPdu
public boolean isResupplyOfferPdu()Whether this instance is an ResupplyOfferPdu- Returns:
- whether this type of Pdu
-
isResupplyReceivedPdu
public boolean isResupplyReceivedPdu()Whether this instance is an ResupplyReceivedPdu- Returns:
- whether this type of Pdu
-
isSEESPdu
public boolean isSEESPdu()Whether this instance is an SEESPdu- Returns:
- whether this type of Pdu
-
isSetDataPdu
public boolean isSetDataPdu()Whether this instance is an SetDataPdu- Returns:
- whether this type of Pdu
-
isSetDataRPdu
public boolean isSetDataRPdu()Whether this instance is an SetDataRPdu- Returns:
- whether this type of Pdu
-
isSetRecordRPdu
public boolean isSetRecordRPdu()Whether this instance is an SetRecordRPdu- Returns:
- whether this type of Pdu
-
isSignalPdu
public boolean isSignalPdu()Whether this instance is an SignalPdu- Returns:
- whether this type of Pdu
-
isStartResumePdu
public boolean isStartResumePdu()Whether this instance is an StartResumePdu- Returns:
- whether this type of Pdu
-
isStartResumeRPdu
public boolean isStartResumeRPdu()Whether this instance is an StartResumeRPdu- Returns:
- whether this type of Pdu
-
isStopFreezePdu
public boolean isStopFreezePdu()Whether this instance is an StopFreezePdu- Returns:
- whether this type of Pdu
-
isStopFreezeRPdu
public boolean isStopFreezeRPdu()Whether this instance is an StopFreezeRPdu- Returns:
- whether this type of Pdu
-
isSupplementalEmissionEntityStatePdu
public boolean isSupplementalEmissionEntityStatePdu()Whether this instance is an SupplementalEmissionEntityStatePdu- Returns:
- whether this type of Pdu
-
isTSPIPdu
public boolean isTSPIPdu()Whether this instance is an TSPIPdu- Returns:
- whether this type of Pdu
-
isTransferOwnershipPdu
public boolean isTransferOwnershipPdu()Whether this instance is an TransferOwnershipPdu- Returns:
- whether this type of Pdu
-
isTransmitterPdu
public boolean isTransmitterPdu()Whether this instance is an TransmitterPdu- Returns:
- whether this type of Pdu
-
isUnderwaterAcousticPdu
public boolean isUnderwaterAcousticPdu()Whether this instance is an UnderwaterAcousticPdu- Returns:
- whether this type of Pdu
-
copyByPduFactory
Create deep copy of current object using PduFactory.- Returns:
- deep copy of PDU
-
getMarshalledSize
public int getMarshalledSize()Returns size of this serialized (marshalled) object in bytes- Specified by:
getMarshalledSize
in interfaceMarshaller
- Returns:
- serialized size in bytes
- See Also:
-
setProtocolVersion
Setter forprotocolVersion
- Parameters:
pProtocolVersion
- new value of interest- Returns:
- same object to permit progressive setters
-
getProtocolVersion
Getter forprotocolVersion
- Returns:
- value of interest
-
setExerciseID
Setter forexerciseID
- Parameters:
pExerciseID
- new value of interest- Returns:
- same object to permit progressive setters
-
setExerciseID
Utility setter forexerciseID
- Parameters:
pExerciseID
- new value of interest- Returns:
- same object to permit progressive setters
-
getExerciseID
-
setPduType
Setter forpduType
- Parameters:
pPduType
- new value of interest- Returns:
- same object to permit progressive setters
-
getPduType
-
setProtocolFamily
Setter forprotocolFamily
- Parameters:
pProtocolFamily
- new value of interest- Returns:
- same object to permit progressive setters
-
getProtocolFamily
-
setTimestamp
-
getTimestamp
public int getTimestamp()Getter fortimestamp
Warning: this method gets a DIS bit pattern- Returns:
- value of interest
- See Also:
-
setLength
-
setLength
-
getLength
-
marshal
Serializes an object to a DataOutputStream.- Specified by:
marshal
in interfaceMarshaller
- Parameters:
dos
- the OutputStream- Throws:
Exception
- if something goes wrong- See Also:
-
unmarshal
Deserializes an object from a DataInputStream.- Specified by:
unmarshal
in interfaceMarshaller
- Parameters:
dis
- the InputStream- Returns:
- marshalled serialized size in bytes
- Throws:
Exception
- if something goes wrong- See Also:
-
marshal
Packs an object into the ByteBuffer.- Specified by:
marshal
in interfaceMarshaller
- Parameters:
byteBuffer
- The ByteBuffer at the position to begin writing- Throws:
BufferOverflowException
- if byteBuffer is too smallReadOnlyBufferException
- if byteBuffer is read onlyException
- ByteBuffer-generated exception- See Also:
-
unmarshal
Unpacks a Pdu from the underlying data.- Specified by:
unmarshal
in interfaceMarshaller
- Parameters:
byteBuffer
- The ByteBuffer at the position to begin reading- Returns:
- marshalled serialized size in bytes
- Throws:
BufferUnderflowException
- if byteBuffer is too smallException
- ByteBuffer-generated exception- See Also:
-
marshal
A convenience method for marshalling to a ByteBuffer -
equals
-
equalsImpl
Compare all fields that contribute to the state, ignoring transient and static fields, forthis
and the supplied object- Parameters:
obj
- the object to compare to- Returns:
- true if the objects are equal, false otherwise.
-
toString
-
hashCode
-
setTimestampSeconds
-
getTimestampSeconds
public double getTimestampSeconds()Utility getter fortimestamp
converting integer timestamp at 2^31 - 1 units past top of hour to double (or float)- Returns:
- fractional timestamp past hour
- See Also:
-
occursAfter
Whether or not timestamp for this Pdu occurs after timestamp as another Pdu.- Parameters:
pdu2
- second Pdu for comparison- Returns:
- whether timestamp for this Pdu occurs later
-
occursBefore
Whether or not timestamp for this Pdu occurs before timestamp as another Pdu.- Parameters:
pdu2
- second Pdu for comparison- Returns:
- whether timestamp for this Pdu occurs earlier
-
occursSameTime
Whether or not this Pdu occurs at same timestamp as another Pdu.- Parameters:
pdu2
- second Pdu for comparison- Returns:
- whether timestamps are identical for both Pdus
-