Changeset 4407
- Timestamp:
- Jun 28, 2005, 9:23:35 AM (21 years ago)
- Location:
- trunk/doc/pslib
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
psLibSDRS.tex (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/ChangeLogSDRS.tex
r4368 r4407 1 %%% $Id: ChangeLogSDRS.tex,v 1.15 2 2005-06-23 21:19:45 price Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.153 2005-06-28 19:23:35 price Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 743 743 \code{psAlloc} checks the allocation size against 744 744 \code{PS_MEM_LIMIT}. 745 \end{itemize} 745 \item \code{nFail} in \code{psMetadataConfigParse} is \code{unsigned}. 746 \item \code{timeval} changed to \code{struct timeval} throughout. 747 \end{itemize} -
trunk/doc/pslib/psLibSDRS.tex
r4406 r4407 1 %%% $Id: psLibSDRS.tex,v 1.30 0 2005-06-28 01:40:27 jhoblittExp $1 %%% $Id: psLibSDRS.tex,v 1.301 2005-06-28 19:23:35 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 2575 2575 2576 2576 \begin{prototype} 2577 psMetadata *psMetadataConfigParse(psMetadata *md, int *nFail, const char *filename, bool overwrite);2577 psMetadata *psMetadataConfigParse(psMetadata *md, unsigned int *nFail, const char *filename, bool overwrite); 2578 2578 \end{prototype} 2579 2579 … … 5604 5604 \subsubsection{Overview} 5605 5605 5606 We require a collection of functions to manipulate time data. These operations 5607 primarily consist of conversions between specific time formats. Internally, 5608 PSLib handles times as a structure similar to the POSIX \code{timeval} struct 5609 which has been extended to track the time system being represented. 5606 We require a collection of functions to manipulate time data. These 5607 operations primarily consist of conversions between specific time 5608 formats. Internally, PSLib handles times as a structure similar to 5609 the POSIX \code{struct timeval} struct which has been extended to 5610 track the time system being represented. 5610 5611 5611 5612 \subsubsection{Data Types} … … 5613 5614 \begin{datatype} 5614 5615 typedef enum { 5615 PS_TIME_TAI, ///< seconds since 1970-01-01T00:00:00Z (Gregorian), SI seconds5616 PS_TIME_UTC, ///< seconds since 1970-01-01T00:00:00Z (Gregorian), SI seconds + leapseconds5617 PS_TIME_UT1, ///< seconds since 1970-01-01T00:00:00Z (Gregorian), variable length seconds5618 PS_TIME_TT, ///< seconds since 1970-01-01T00:00:00Z (Gregorian), SI seconds5616 PS_TIME_TAI, ///< seconds since 1970-01-01T00:00:00Z (Gregorian), SI seconds 5617 PS_TIME_UTC, ///< seconds since 1970-01-01T00:00:00Z (Gregorian), SI seconds + leapseconds 5618 PS_TIME_UT1, ///< seconds since 1970-01-01T00:00:00Z (Gregorian), variable length seconds 5619 PS_TIME_TT, ///< seconds since 1970-01-01T00:00:00Z (Gregorian), SI seconds 5619 5620 } psTimeType; 5620 5621 … … 5718 5719 double psTimeToMJD(const psTime *time); 5719 5720 psString psTimeToISO(const psTime *time); 5720 timeval *psTimeToTimeval(const psTime *time);5721 struct timeval *psTimeToTimeval(const psTime *time); 5721 5722 \end{prototype} 5722 5723 … … 5734 5735 psTime *psTimeFromMJD(double mjd); 5735 5736 psTime *psTimeFromISO(const char *input, psTimeType type); 5736 psTime *psTimeFromTimeval(const timeval *input);5737 psTime *psTimeFromTimeval(const struct timeval *input); 5737 5738 psTime *psTimeFromUTC(psS64 sec, psU32 nsec, bool leapsecond); 5738 5739 psTime *psTimeFromTT(psS64 sec, psU32 nsec);
Note:
See TracChangeset
for help on using the changeset viewer.
