org.openiec61850.common.model.datypes.commonacsi
Class TimeQuality

java.lang.Object
  extended by org.openiec61850.common.model.datypes.commonacsi.TimeQuality

public class TimeQuality
extends java.lang.Object

See 61850-7-2 chapter TypeDefinitions/BasicTypes


Field Summary
 boolean clockFailure
          The attribute clockFailure shall indicate that the time source of the sending device is unreliable.
 boolean clockNotSynchronized
          The attribute clockNotSynchronized shall indicate that the time source of the sending device is not synchronized with the external UTC time.
static TimeQuality DEFAULT
           
static TimeQuality INVALID
           
 boolean leapSecondsknown
          The value TRUE of the attribute LeapSecondsKnown shall indicate that the value for SecondSinceEpoch takes into account all leap seconds occurred.
 int timeAccuracy
          The attribute TimeAccuracy shall represent the time accuracy class of the time source of the sending device relative to the external UTC time.
 
Constructor Summary
TimeQuality()
           
TimeQuality(boolean clockFailure)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static TimeQuality DEFAULT

INVALID

public static TimeQuality INVALID

leapSecondsknown

public boolean leapSecondsknown
The value TRUE of the attribute LeapSecondsKnown shall indicate that the value for SecondSinceEpoch takes into account all leap seconds occurred. If it is FALSE then the value does not take into account the leap seconds that occurred before the initialization of the time source of the device. Java Date and Calendar objects do handle leap seconds, so this is usually true.


clockFailure

public boolean clockFailure
The attribute clockFailure shall indicate that the time source of the sending device is unreliable. The value of the TimeStamp shall be ignored.


clockNotSynchronized

public boolean clockNotSynchronized
The attribute clockNotSynchronized shall indicate that the time source of the sending device is not synchronized with the external UTC time.


timeAccuracy

public int timeAccuracy
The attribute TimeAccuracy shall represent the time accuracy class of the time source of the sending device relative to the external UTC time. The timeAccuracy classes shall represent the number of significant bits in the FractionOfSecond If the time is set via Java Date objects, the accuracy is 1 ms, that is a timeAccuracy value of 10.

Constructor Detail

TimeQuality

public TimeQuality()

TimeQuality

public TimeQuality(boolean clockFailure)