33 #include "dcmtk/config/osconfig.h"
36 #include "dcmtk/ofstd/ofstdinc.h"
39 #ifdef HAVE_SYS_TYPES_H
40 # include <sys/types.h>
44 #include "dcmtk/ofstd/ofstring.h"
77 OFTime(
const unsigned int hour,
78 const unsigned int minute,
80 const double timeZone = 0);
145 virtual void clear();
152 virtual OFBool
isValid()
const;
162 OFBool
setTime(
const unsigned int hour,
163 const unsigned int minute,
165 const double timeZone = 0);
172 OFBool
setHour(
const unsigned int hour);
179 OFBool
setMinute(
const unsigned int minute);
207 const unsigned int minute);
217 const double timeZone = 0,
218 const OFBool normalize = OFTrue);
228 const double timeZone = 0,
229 const OFBool normalize = OFTrue);
293 const OFBool normalize = OFTrue)
const;
302 const OFBool normalize = OFTrue)
const;
332 const OFBool showSeconds = OFTrue,
333 const OFBool showFraction = OFFalse,
334 const OFBool showTimeZone = OFFalse,
335 const OFBool showDelimiter = OFTrue)
const;
374 const unsigned int minute,
376 const double timeZone);
388 const unsigned int minute,
390 const double timeZone = 0,
391 const OFBool normalize = OFTrue);
403 const unsigned int minute,
405 const double timeZone = 0,
406 const OFBool normalize = OFTrue);
431 STD_NAMESPACE ostream& operator<<(STD_NAMESPACE ostream& stream,
const OFTime &timeVal);