MetNoFimex::FimexTime Class Reference

#include <TimeUnit.h>

List of all members.

Public Member Functions

bool operator== (const FimexTime &rhs) const
 compare two fimexTimes
bool operator!= (const FimexTime &rhs) const
 compare two fimexTimes
bool operator> (const FimexTime &rhs) const
 compare two fimexTimes
bool operator< (const FimexTime &rhs) const
 compare two fimexTimes
bool operator>= (const FimexTime &rhs) const
 compare two fimexTimes
bool operator<= (const FimexTime &rhs) const
 compare two fimexTimes

Public Attributes

unsigned short msecond
 millisecond
char second
 second (0-59)
char minute
 minute (0-59)
char hour
 hour (0-23)
char mday
 day of month (1-31)
char month
 month (1-12)
unsigned short year
 year (2008 as of writing)


Detailed Description

time representation and some overloaded operators

Warning:
: the implementor needs to make sure, that all values are given correctly, i.e. seconds between 0 and 59

Member Function Documentation

bool MetNoFimex::FimexTime::operator== ( const FimexTime rhs  )  const

compare two fimexTimes

bool MetNoFimex::FimexTime::operator!= ( const FimexTime rhs  )  const [inline]

compare two fimexTimes

bool MetNoFimex::FimexTime::operator> ( const FimexTime rhs  )  const [inline]

compare two fimexTimes

References toLong().

bool MetNoFimex::FimexTime::operator< ( const FimexTime rhs  )  const [inline]

compare two fimexTimes

bool MetNoFimex::FimexTime::operator>= ( const FimexTime rhs  )  const [inline]

compare two fimexTimes

bool MetNoFimex::FimexTime::operator<= ( const FimexTime rhs  )  const [inline]

compare two fimexTimes


Member Data Documentation

millisecond

second (0-59)

minute (0-59)

hour (0-23)

day of month (1-31)

month (1-12)

year (2008 as of writing)


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

Generated on Fri May 7 15:50:18 2010 for MI - Fimex by  doxygen 1.5.5