@@ -145,11 +145,11 @@ class DCMTK_OFSTD_EXPORT OFTime
145145 */
146146 virtual void clear ();
147147
148- /* * clear the second value, i.e.\ set it to "unspecified".
148+ /* * clear the second value, i.e.\ set it to "unspecified"
149149 */
150150 void clearSecond ();
151151
152- /* * clear the time zone value, i.e.\ set it to "unspecified".
152+ /* * clear the time zone value, i.e.\ set it to "unspecified"
153153 */
154154 void clearTimeZone ();
155155
@@ -241,7 +241,7 @@ class DCMTK_OFSTD_EXPORT OFTime
241241 /* * set the time to the specified number of seconds
242242 * @param seconds number of seconds since "00:00:00" specifying time to set
243243 * @param timeZone optional offset to Coordinated Universal Time (UTC) in hours
244- * @param normalize if OFTrue the 'seconds' value is normalized to the valid range
244+ * @param normalize if OFTrue, the 'seconds' value is normalized to the valid range
245245 * [0.0,86400.0[ otherwise the value is checked as is
246246 * @return OFTrue if the new value is valid and has been set, OFFalse otherwise
247247 */
@@ -252,7 +252,7 @@ class DCMTK_OFSTD_EXPORT OFTime
252252 /* * set the time to the specified number of hours
253253 * @param hours number of hours since "00:00:00" specifying time to set
254254 * @param timeZone optional offset to Coordinated Universal Time (UTC) in hours
255- * @param normalize if OFTrue the 'hours' value is normalized to the valid range
255+ * @param normalize if OFTrue, the 'hours' value is normalized to the valid range
256256 * [0.0,24.0[ otherwise the value is checked as is
257257 * @return OFTrue if the new value is valid and has been set, OFFalse otherwise
258258 */
@@ -339,7 +339,7 @@ class DCMTK_OFSTD_EXPORT OFTime
339339
340340 /* * get the currently stored time in seconds
341341 * @param useTimeZone use the currently set time zone to correct the result
342- * @param normalize if OFTrue results larger than or equal 86400.0 (seconds)
342+ * @param normalize if OFTrue, results larger than or equal 86400.0 (seconds)
343343 * are normalized to a valid range
344344 * @return number of seconds since "00:00:00"
345345 */
@@ -348,7 +348,7 @@ class DCMTK_OFSTD_EXPORT OFTime
348348
349349 /* * get the currently stored time in hours.
350350 * @param useTimeZone use the currently set time zone to correct the result
351- * @param normalize if OFTrue results larger than or equal 24.0 (hours) are
351+ * @param normalize if OFTrue, results larger than or equal 24.0 (hours) are
352352 * normalized to a valid range
353353 * @return number of hours since "00:00:00" (including fraction of hours)
354354 */
@@ -388,8 +388,8 @@ class DCMTK_OFSTD_EXPORT OFTime
388388 * if OFTrue. The time zone indicates the offset from the Coordinated Universal Time (UTC)
389389 * in hours and minutes. The time zone is only added if a value is specified.
390390 * @param showDelimiter flag, indicating whether to use delimiters (":" and " ") or not
391- * @param createMissingPart if OFTrue create optional parts (seconds and fractional part of a
392- * second) even if not specified (see hasSecond() and hasFractionOfSecond())
391+ * @param createMissingPart if OFTrue, create optional parts (seconds and fractional part of
392+ * a second) even if not specified (see hasSecond() and hasFractionOfSecond())
393393 * @param timeZoneSeparator separator between ISO time value and time zone, e.g. " " (default)
394394 * or "" (for ISO 8601 format). Only used if 'showDelimiter' is true.
395395 * @return OFTrue if result variable has been set, i.e. the time is valid, OFFalse otherwise
@@ -487,7 +487,7 @@ class DCMTK_OFSTD_EXPORT OFTime
487487 * @param minute minute value of the given time
488488 * @param second second value of the given time
489489 * @param timeZone optional offset to Coordinated Universal Time (UTC) in hours
490- * @param normalize if OFTrue results larger than or equal 86400.0 (seconds)
490+ * @param normalize if OFTrue, results larger than or equal 86400.0 (seconds)
491491 * are normalized to a valid range
492492 * @return number of seconds since "00:00:00"
493493 */
@@ -502,7 +502,7 @@ class DCMTK_OFSTD_EXPORT OFTime
502502 * @param minute minute value of the given time
503503 * @param second second value of the given time
504504 * @param timeZone optional offset to Coordinated Universal Time (UTC) in hours
505- * @param normalize if OFTrue results larger than or equal 24.0 (hours)
505+ * @param normalize if OFTrue, results larger than or equal 24.0 (hours)
506506 * are normalized to a valid range
507507 * @return number of hours since "00:00:00" (including fraction of hours)
508508 */
@@ -530,7 +530,8 @@ class DCMTK_OFSTD_EXPORT OFTime
530530
531531
532532/* * put the given time in ISO format on the output stream.
533- * If an error occurs, nothing is printed.
533+ * The output format is "HH:MM[:SS[.FFFFFF]] [&ZZ:ZZ]". Optional parts are not created
534+ * if missing. If an error occurs nothing is printed.
534535 * @param stream output stream
535536 * @param timeVal OFTime object to print
536537 * @return reference to the output stream
0 commit comments