Octane SDK  2.0 Beta
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
Impinj.OctaneSdk.ImpinjTimestamp Class Reference

Timestamp class supporting Impinj Reader and LLRP timestamp data. Timestamps from the reader are microseconds since the Epoch (00:00:00 UTC, January 1, 1970) (16 digit numbers) More...

Public Member Functions

 ImpinjTimestamp ()
 Default constructor. More...
 
 ImpinjTimestamp (DateTime dt)
 Constructor that translates standard DateTime data into ImpinjTimeStamp format. More...
 
 ImpinjTimestamp (ulong utc)
 Constructor that takes unsigned long (Impinj reader) timestamp data. More...
 
 ImpinjTimestamp (Org.LLRP.LTK.LLRPV1.UNION_Timestamp timestampFromLlrp)
 Constructor that takes LLRP timestamp data. More...
 
override string ToString ()
 Conversion utility that outputs the ImpinjTimestamp data as a string. More...
 

Properties

DateTime LocalDateTime [get]
 Utility that outputs the ImpinjTimestamp data in local time format. More...
 
ulong Utc [get, set]
 Time data member variable. More...
 

Detailed Description

Timestamp class supporting Impinj Reader and LLRP timestamp data. Timestamps from the reader are microseconds since the Epoch (00:00:00 UTC, January 1, 1970) (16 digit numbers)

Constructor & Destructor Documentation

Impinj.OctaneSdk.ImpinjTimestamp.ImpinjTimestamp ( )

Default constructor.

Impinj.OctaneSdk.ImpinjTimestamp.ImpinjTimestamp ( DateTime  dt)

Constructor that translates standard DateTime data into ImpinjTimeStamp format.

Parameters
dtStandard DateTime timestamp.
Impinj.OctaneSdk.ImpinjTimestamp.ImpinjTimestamp ( ulong  utc)

Constructor that takes unsigned long (Impinj reader) timestamp data.

Parameters
utcUnsigned long format timestamp; microseconds since the Epoch (00:00:00 UTC, January 1, 1970) (16 digit number).
Impinj.OctaneSdk.ImpinjTimestamp.ImpinjTimestamp ( Org.LLRP.LTK.LLRPV1.UNION_Timestamp  timestampFromLlrp)

Constructor that takes LLRP timestamp data.

Parameters
timestampFromLlrpLLRP timestamp object

Member Function Documentation

override string Impinj.OctaneSdk.ImpinjTimestamp.ToString ( )

Conversion utility that outputs the ImpinjTimestamp data as a string.

Returns

Property Documentation

DateTime Impinj.OctaneSdk.ImpinjTimestamp.LocalDateTime
get

Utility that outputs the ImpinjTimestamp data in local time format.

ulong Impinj.OctaneSdk.ImpinjTimestamp.Utc
getset

Time data member variable.