11#define __RTTime_h__ included
17#ifndef __RTFieldDescriptor_h__
18#include <RTFieldDescriptor.h>
21#ifndef __RTInteger_h__
25#ifndef __RTSequence_h__
26#include <RTSequence.h>
38 explicit RTTime(
int _hrs = 0,
int _min = 0,
int _sec = 0 );
45 int asInt(
void )
const;
48 static RTTime asTime(
int value );
54 virtual int operator==(
const RTDataObject & )
const override;
56 virtual const RTObject_class * getClassData(
void )
const override;
60#define RTType_RTTime ( RTTime::classData )
64RTS_INLINE
int operator> (
const RTTime &,
const RTTime & );
65RTS_INLINE
int operator<=(
const RTTime &,
const RTTime & );
66RTS_INLINE
int operator>=(
const RTTime &,
const RTTime & );
Provides a common interface to certain data type implementations (e.g.
Definition: RTDataObject.h:33
Definition: RTInteger.h:22
Definition: RTSequence.h:22
Definition: RTFieldDescriptor.h:40
A type descriptor providing information about a type.
Definition: RTObject_class.h:64
A time value which can represent either an absolute or relative time.
Definition: RTTimespec.h:29