libiec61850.NET  1.5.1
IEC 61850 .NET API for libiec61850 protocol library
IEC61850.Common.Timestamp Class Reference

Timestamp (represents IEC 61850 timestamps e.g. "t" attribute) More...

Public Member Functions

 Timestamp (DateTime timestamp)
 
 Timestamp (MmsValue mmsUtcTime)
 
 Timestamp (byte[] value)
 
void ClearFlags ()
 
void SetDateTime (DateTime timestamp)
 
bool IsLeapSecondKnown ()
 
void SetLeapSecondKnow (bool value)
 
bool HasClockFailure ()
 
void SetClockFailure (bool value)
 
bool IsClockNotSynchronized ()
 
void SetClockNotSynchronized (bool value)
 
int GetSubsecondPrecision ()
 
void SetSubsecondPrecision (int subsecondPrecision)
 
UInt32 GetTimeInSeconds ()
 
void SetTimeInSeconds (UInt32 secondsSinceEpoch)
 
UInt64 GetTimeInMilliseconds ()
 
void SetTimeInMilliseconds (UInt64 millisSinceEpoch)
 
void SetByMmsUtcTime (MmsValue mmsValue)
 
DateTime AsDateTime ()
 

Properties

bool LeapSecondKnown [get, set]
 
bool ClockFailure [get, set]
 
bool ClockNotSynchronized [get, set]
 
int SubsecondPrecision [get, set]
 
UInt32 TimeInSeconds [get, set]
 
UInt64 TimeInMilliseconds [get, set]
 

Detailed Description

Timestamp (represents IEC 61850 timestamps e.g. "t" attribute)


The documentation for this class was generated from the following file: