IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7704


Ignore:
Timestamp:
Jun 26, 2006, 6:31:21 PM (20 years ago)
Author:
jhoblitt
Message:

add psTimeStrptime()

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/ChangeLogSDRS.tex

    r7702 r7704  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.205 2006-06-27 04:04:07 jhoblitt Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.206 2006-06-27 04:31:20 jhoblitt Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    909909\item add \code{psMemGetThreadSafety()}
    910910\item add \code{psTimeToTM()} \& \code{psTimeFromTM()}
    911 \end{itemize}
     911\item add \code{psTimeStrptime()}
     912\end{itemize}
  • trunk/doc/pslib/psLibSDRS.tex

    r7702 r7704  
    1 %%% $Id: psLibSDRS.tex,v 1.414 2006-06-27 04:04:07 jhoblitt Exp $
     1%%% $Id: psLibSDRS.tex,v 1.415 2006-06-27 04:31:21 jhoblitt Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    66956695psTime *psTimeFromISO(const char *input, psTimeType type);
    66966696psTime *psTimeFromTimeval(const struct timeval *input);
    6697 psTime* psTimeFromTM(const struct tm* time);
     6697psTime *psTimeFromTM(const struct tm* time);
    66986698psTime *psTimeFromUTC(psS64 sec, psU32 nsec, bool leapsecond);
    66996699psTime *psTimeFromTT(psS64 sec, psU32 nsec);
     6700psTime *psTimeStrptime(const char *s, const char *format);
    67006701\end{prototype}
    67016702
     
    67036704time to land on a UTC leapsecond (using \code{psTimeIsLeapSecond()}) if
    67046705\code{leapsecond} is set to \code{true}.
     6706
     6707The \code{psTimeStrptime()} function parses the string \code{s} into a \code{psTime} using a \code{strptime(3)} compatible format specified as \code{format}.
    67056708
    67066709\subsubsection{Date and Time Math}
Note: See TracChangeset for help on using the changeset viewer.