IEC61970 17v07
Public Member Functions | Public Attributes | Friends | List of all members
IEC61970::Base::Domain::Duration Class Reference

#include <Duration.h>

Public Member Functions

 Duration (IEC61970::Base::Domain::String value)
 
Durationoperator= (IEC61970::Base::Domain::String &rop)
 
 operator IEC61970::Base::Domain::String ()
 

Public Attributes

IEC61970::Base::Domain::String value
 
bool initialized = false
 

Friends

std::istream & operator>> (std::istream &lop, Duration &rop)
 

Detailed Description

Duration as "PnYnMnDTnHnMnS" which conforms to ISO 8601, where nY expresses a number of years, nM a number of months, nD a number of days. The letter T separates the date expression from the time expression and, after it, nH identifies a number of hours, nM a number of minutes and nS a number of seconds. The number of seconds could be expressed as a decimal number, but all other numbers are integers.


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