\hypertarget{group__Evil__Time__Group}{\section{Time.\+h functions}
\label{group__Evil__Time__Group}\index{Time.\+h functions@{Time.\+h functions}}
}


This header provides functions ported from Unix in time.\+h.  


\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Evil__Time__Group_ga0043254b89212118f4166416007f37c4}{\#define \hyperlink{group__Evil__Time__Group_ga0043254b89212118f4166416007f37c4}{localtime\+\_\+r}(t, r)~\hyperlink{group__Evil__Time__Group_ga64e37da5e15841b79a15ffcef89fd6f0}{evil\+\_\+localtime\+\_\+r}(t, r)}\label{group__Evil__Time__Group_ga0043254b89212118f4166416007f37c4}

\begin{DoxyCompactList}\small\item\em Wrapper around \hyperlink{group__Evil__Time__Group_ga64e37da5e15841b79a15ffcef89fd6f0}{evil\+\_\+localtime\+\_\+r()}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
struct tm $\ast$ \hyperlink{group__Evil__Time__Group_ga64e37da5e15841b79a15ffcef89fd6f0}{evil\+\_\+localtime\+\_\+r} (const time\+\_\+t $\ast$timep, struct tm $\ast$result)
\begin{DoxyCompactList}\small\item\em Convert the calendar time to broken-\/time representation in a user supplied data. \end{DoxyCompactList}\item 
char $\ast$ \hyperlink{group__Evil__Time__Group_gab33323a8e5a42adb071e6a554caaeaf6}{strptime} (const char $\ast$buf, const char $\ast$fmt, struct tm $\ast$tm)
\begin{DoxyCompactList}\small\item\em Convert a string representation of time to a time tm structure . \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This header provides functions ported from Unix in time.\+h. 



\subsection{Function Documentation}
\hypertarget{group__Evil__Time__Group_ga64e37da5e15841b79a15ffcef89fd6f0}{\index{Time.\+h functions@{Time.\+h functions}!evil\+\_\+localtime\+\_\+r@{evil\+\_\+localtime\+\_\+r}}
\index{evil\+\_\+localtime\+\_\+r@{evil\+\_\+localtime\+\_\+r}!Time.\+h functions@{Time.\+h functions}}
\subsubsection[{evil\+\_\+localtime\+\_\+r}]{\setlength{\rightskip}{0pt plus 5cm}struct tm$\ast$ evil\+\_\+localtime\+\_\+r (
\begin{DoxyParamCaption}
\item[{const time\+\_\+t $\ast$}]{timep, }
\item[{struct tm $\ast$}]{result}
\end{DoxyParamCaption}
)}}\label{group__Evil__Time__Group_ga64e37da5e15841b79a15ffcef89fd6f0}


Convert the calendar time to broken-\/time representation in a user supplied data. 


\begin{DoxyParams}{Parameters}
{\em timep} & The calender time. \\
\hline
{\em result} & The broken-\/down time representation. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The broken-\/down time representation.
\end{DoxyReturn}
This function converts the calendar time {\ttfamily timep} to a broken-\/time representation. The result is stored in the buffer {\ttfamily result} supplied by the user. If {\ttfamily timep} or {\ttfamily result} are {\ttfamily N\+U\+L\+L}, or if an error occurred, this function returns {\ttfamily N\+U\+L\+L} and the values in {\ttfamily result} might be undefined. Otherwise it returns {\ttfamily result}.

Conformity\+: Non applicable.

Supported O\+S\+: Windows X\+P. \hypertarget{group__Evil__Time__Group_gab33323a8e5a42adb071e6a554caaeaf6}{\index{Time.\+h functions@{Time.\+h functions}!strptime@{strptime}}
\index{strptime@{strptime}!Time.\+h functions@{Time.\+h functions}}
\subsubsection[{strptime}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ strptime (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{buf, }
\item[{const char $\ast$}]{fmt, }
\item[{struct tm $\ast$}]{tm}
\end{DoxyParamCaption}
)}}\label{group__Evil__Time__Group_gab33323a8e5a42adb071e6a554caaeaf6}


Convert a string representation of time to a time tm structure . 


\begin{DoxyParams}{Parameters}
{\em buf} & The string to convert. \\
\hline
{\em fmt} & The representation of time.  tm The time tm structure. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The first character not processed in this function call.
\end{DoxyReturn}
This function converts the string {\ttfamily s} to a time tm structure and fill the buffer {\ttfamily tm}. The format of the time is specified by {\ttfamily format}. on success, this function returns the first character not processed in this function call, {\ttfamily N\+U\+L\+L} otherwise.

Conformity\+: Non applicable.

Supported O\+S\+: Windows X\+P. 

References localtime\+\_\+r, and strptime().



Referenced by eina\+\_\+value\+\_\+util\+\_\+time\+\_\+string\+\_\+new(), and strptime().

