An LBMSDMRawTimestamp is a helper class to minimise the effort of formatting
and parsing Timestamps. A Timestamp is the number of seconds and microseconds
since Unix epoch
![](../icons/collapse_all.gif)
C# |
public class LBMSDMRawTimestamp : LBMSDMRaw, ICloneable
![](../icons/collapse_all.gif)
All Members | Constructors | Methods | Fields | ||
Icon | Member | Description |
---|---|---|
![]() | LBMSDMRawTimestamp()()() | Create a raw timestamp field, defaulting to 0 |
![]() | LBMSDMRawTimestamp(UInt32, UInt32) | Set a raw timestamp field providing the seconds and microseconds
since UNIX epoch
|
![]() | LBMSDMRawTimestamp(String) | Set a raw timestamp field providing a string formatted timestamp |
![]() | LBMSDMRawTimestamp(DateTime) | Set a raw timestamp field providing a string formatted timestamp
in the form sec.micro or "now"
|
![]() | Clone()()() | Get a copy of this object |
![]() | debug_level | Debug mask for SDM implementation. (Inherited from LBMSDM.) |
![]() | format(array<Byte>[]()[], Int32) | Format the raw timestamp value into a byte buffer |
![]() | get_sec()()() | Get the number of seconds since epoch |
![]() | get_usec()()() | Get the number of microseconds since the start of the current second |
![]() ![]() | length | The number of bytes needed to store a raw LBMSDMRawTimestamp |
![]() | log(String) | Log an event. If debug level is set greater than 0, output to stderr (Inherited from LBMSDM.) |
![]() | parse(array<Byte>[]()[], Int32) | Parse the raw timestamp value from a byte buffer |
![]() | set(UInt32, UInt32) | Set a uint32 field providing the value as a long |
![]() | set_debug_level(Int32) | Set the debug level for processing this SDM message.
Currently all debugs go to standard out.
(Inherited from LBMSDM.) |
![]() | toDbgString()()() | Get a debug string for this object. This is not
expected to be called and exists for child classes.
(Inherited from LBMSDMRaw.) |
![]() | ToString()()() | Get a string version of a timestamp (Overrides Object.ToString()()().) |