public class MessageCreationTime extends ST0603TimeStamp implements IAncillaryTextMetadataValue
The Message Creation Time element identifies the time at which the ancillary text message was created (e.g. if added to the stream during analysis subsequent to the initial recording).
This element is encoded in the same manner as the Precision Time Stamp defined in MISB ST
0603. Whereas the mandatory PrecisionTimeStamp
marks wherein the Motion Imagery stream
the message applies, the Message Creation Time marks when the message is generated. For example,
if a message applies to Motion Imagery with frame time X, but is being created at a later time,
such as in a latter phase of exploitation, the message would have a Message Creation Time of Y.
In the case where the message is made in real time with respect to the Motion Imagery, then the
times X and Y would be the same.
The Precision Time Stamp is an optional element in the ancillary text metadata set.
Resolution is 1 microsecond.
microseconds
Constructor and Description |
---|
MessageCreationTime(byte[] bytes)
Create from encoded bytes.
|
MessageCreationTime(LocalDateTime dateTime)
Create from
LocalDateTime . |
MessageCreationTime(long microseconds)
Create from value.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Get the encoded bytes.
|
String |
getDisplayableValue()
Get a displayable representation of the timestamp.
|
String |
getDisplayName()
Get the human-readable name for the value.
|
getBytesFull, getBytesVariable, getDateTime, getDisplayableValueDateTime, getMicroseconds
public MessageCreationTime(long microseconds)
microseconds
- Microseconds since the epochpublic MessageCreationTime(byte[] bytes)
bytes
- Encoded byte array, length of 8 bytes.public MessageCreationTime(LocalDateTime dateTime)
LocalDateTime
.dateTime
- The date and timepublic final String getDisplayName()
IKlvValue
getDisplayName
in interface IKlvValue
public byte[] getBytes()
IAncillaryTextMetadataValue
getBytes
in interface IAncillaryTextMetadataValue
public String getDisplayableValue()
ST0603TimeStamp
getDisplayableValue
in interface IKlvValue
getDisplayableValue
in class ST0603TimeStamp
Copyright © 2022 West Ridge Systems. All rights reserved.