IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 26, 2009, 10:21:48 AM (17 years ago)
Author:
Paul Price
Message:

API for psTimeConvert was confusing: the time is converted in-place, but returning a psTime* implies that a new structure is created and the operation is performed on it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psTime.h

    r22680 r22682  
    135135/** Convert psTime to UTC, TAI, UT1, or TT time.
    136136 *
    137  *  Converts psTime to UTC, TAI, UT1, or TT time based on the psTimeType argument.
    138  *
    139  *  @return psTime*:    Pointer to psTime.
    140  */
    141 psTime* psTimeConvert(
     137 *  Converts psTime in-place to UTC, TAI, UT1, or TT time based on the psTimeType argument.
     138 *
     139 *  @return bool: Successful conversion?
     140 */
     141bool psTimeConvert(
    142142    psTime *time,                      ///< Time to be converted.
    143143    psTimeType type                    ///< Type to be converted to.
Note: See TracChangeset for help on using the changeset viewer.