\section{Datetime}
\label{group__Datetime}\index{Datetime@{Datetime}}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Datetime_ga8d0734025cb5d32eaa2d43d412c1263d}{elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-O\-R\-M\-A\-T\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$$\ast$, ret)
\item 
\#define \hyperlink{group__Datetime_gaf1c1b3596c0f6fa05841dacbf3be1455}{elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-set}(fmt)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-O\-R\-M\-A\-T\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, fmt)
\item 
\#define \hyperlink{group__Datetime_gad48a2bf5e86a65b91a22d6a997b63b9b}{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get}(fieldtype, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-E\-L\-D\-\_\-\-V\-I\-S\-I\-B\-L\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type, fieldtype), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\begin{DoxyCompactList}\small\item\em Get whether a field can be visible/not. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Datetime_gafd8b0d8198201b173a5cb12ae8ed255d}{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set}(fieldtype, visible)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-E\-L\-D\-\_\-\-V\-I\-S\-I\-B\-L\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type, fieldtype), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, visible)
\begin{DoxyCompactList}\small\item\em Set a field to be visible or not. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Datetime_ga9e4a8c602b94ae656e5d838d5c5ab176}{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get}(fieldtype, min, max)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-E\-L\-D\-\_\-\-L\-I\-M\-I\-T\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type, fieldtype), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, min), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, max)
\begin{DoxyCompactList}\small\item\em Get the field limits of a field. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Datetime_ga9c4f8a8ef7172fc385ee90a5ff68f3a9}{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set}(fieldtype, min, max)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-E\-L\-D\-\_\-\-L\-I\-M\-I\-T\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type, fieldtype), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, min), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, max)
\begin{DoxyCompactList}\small\item\em Set the field limits of a field. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Datetime_gac5458fb5dc7c3a013590560311954ae2}{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-get}(currtime, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-V\-A\-L\-U\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(struct tm $\ast$, currtime), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\begin{DoxyCompactList}\small\item\em Get the current value of a field. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Datetime_ga7fd9cc578592b3b4c3f2b0d4ac34f635}{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-set}(newtime, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-V\-A\-L\-U\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const struct tm $\ast$, newtime), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\begin{DoxyCompactList}\small\item\em Set the current value of a Datetime object. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Datetime_gaa41c6e7cf07ca5d967d376de37756e74}{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-get}(mintime, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-V\-A\-L\-U\-E\-\_\-\-M\-I\-N\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(struct tm $\ast$, mintime), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\begin{DoxyCompactList}\small\item\em Get the lower boundary of a field. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Datetime_ga74b1c351d1aff0e0225264ec2ab69c7e}{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set}(mintime, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-V\-A\-L\-U\-E\-\_\-\-M\-I\-N\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const struct tm $\ast$, mintime), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\begin{DoxyCompactList}\small\item\em Set the lower boundary of a field. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Datetime_ga3f2f9b51960b8ab66ac7fd81487151c4}{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get}(maxtime, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-V\-A\-L\-U\-E\-\_\-\-M\-A\-X\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(struct tm $\ast$, maxtime), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\begin{DoxyCompactList}\small\item\em Get the upper boundary of a field. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Datetime_ga7bc173ec98aa8557524233c68212c503}{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set}(maxtime, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-V\-A\-L\-U\-E\-\_\-\-M\-A\-X\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const struct tm $\ast$, maxtime), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\begin{DoxyCompactList}\small\item\em Set the upper boundary of a field. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\-\_\-\-Object $\ast$ \hyperlink{group__Datetime_ga3dac2d32e2137fac111d91dc15fcc270}{elm\-\_\-datetime\-\_\-add} (Evas\-\_\-\-Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Adds a new datetime Widget. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Datetime_ga5a0c290807bab56163628990b654a06f}{elm\-\_\-datetime\-\_\-format\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the datetime format. \end{DoxyCompactList}\item 
void \hyperlink{group__Datetime_ga75def6ec9fd0ee435c809ddf187c9bac}{elm\-\_\-datetime\-\_\-format\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, const char $\ast$fmt)
\begin{DoxyCompactList}\small\item\em Set the datetime format. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Datetime_ga1f2bf676a5da157b3706372e078cceb8}{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj, Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type fieldtype)
\begin{DoxyCompactList}\small\item\em Get whether a field can be visible/not. \end{DoxyCompactList}\item 
void \hyperlink{group__Datetime_ga835e428d8876df70aba140f5d5cc7a58}{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type fieldtype, Eina\-\_\-\-Bool visible)
\begin{DoxyCompactList}\small\item\em Set a field to be visible or not. \end{DoxyCompactList}\item 
void \hyperlink{group__Datetime_ga91831e49d43f2120d719f8b441053353}{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj, Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type fieldtype, int $\ast$min, int $\ast$max)
\begin{DoxyCompactList}\small\item\em Get the field limits of a field. \end{DoxyCompactList}\item 
void \hyperlink{group__Datetime_ga9454cc500c4dbb2c6e1461f834e8085c}{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type fieldtype, int min, int max)
\begin{DoxyCompactList}\small\item\em Set the field limits of a field. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Datetime_gada5a279d006e3bc9cff798925ff16041}{elm\-\_\-datetime\-\_\-value\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj, struct tm $\ast$currtime)
\begin{DoxyCompactList}\small\item\em Get the current value of a field. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Datetime_ga56f4fe868c7d9cca593e3c6749905e48}{elm\-\_\-datetime\-\_\-value\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, const struct tm $\ast$newtime)
\begin{DoxyCompactList}\small\item\em Set the current value of a Datetime object. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Datetime_ga8d8a215c66e4d5e6dd25e0c44c7ebd18}{elm\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, const struct tm $\ast$mintime)
\begin{DoxyCompactList}\small\item\em Set the lower boundary of a field. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Datetime_ga9b765fb7821624eb8cb2c95bfe5ee663}{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj, struct tm $\ast$maxtime)
\begin{DoxyCompactList}\small\item\em Get the upper boundary of a field. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Datetime_ga21d37ea2acd3ec35e5d5ef50929a5302}{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, const struct tm $\ast$maxtime)
\begin{DoxyCompactList}\small\item\em Set the upper boundary of a field. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{datetime_inheritance_tree}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{img/widget/datetime/preview-00}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{img/widget/datetime/preview-01}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{img/widget/datetime/preview-02}}
\end{DoxyImageNoCaption}


Datetime widget is used to display and input date \& time values. This widget displays date and time as per the {\bfseries system's locale} settings (Date includes Day, Month \& Year along with the defined separators and Time includes Hour, Minute \& A\-M/\-P\-M fields. Separator for A\-M/\-P\-M field is ignored.

The corresponding Month, A\-M/\-P\-M strings are displayed according to the system’s language settings.

Datetime format is a combination of L\-I\-B\-C standard characters like “\%d \%b \%Y \%I \-: \%M \%p” which, as a whole represents both Date as well as Time format.

Elm\-\_\-datetime supports only the following sub set of libc date format specifiers\-:

{\bfseries \%Y} \-: The year as a decimal number including the century (example\-: 2011).

{\bfseries \%y} \-: The year as a decimal number without a century (range 00 to 99)

{\bfseries \%m} \-: The month as a decimal number (range 01 to 12).

{\bfseries \%b} \-: The abbreviated month name according to the current locale.

{\bfseries \%B} \-: The full month name according to the current locale.

{\bfseries \%h} \-: The abbreviated month name according to the current locale(same as \%b).

{\bfseries \%d} \-: The day of the month as a decimal number (range 01 to 31).

{\bfseries \%e} \-: The day of the month as a decimal number (range 1 to 31). single digits are preceded by a blank.

{\bfseries \%I} \-: The hour as a decimal number using a 12-\/hour clock (range 01 to 12).

{\bfseries \%H} \-: The hour as a decimal number using a 24-\/hour clock (range 00 to 23).

{\bfseries \%k} \-: The hour (24-\/hour clock) as a decimal number (range 0 to 23). single digits are preceded by a blank.

{\bfseries \%l} \-: The hour (12-\/hour clock) as a decimal number (range 1 to 12); single digits are preceded by a blank.

{\bfseries \%M} \-: The minute as a decimal number (range 00 to 59).

{\bfseries \%p} \-: Either 'A\-M' or 'P\-M' according to the given time value, or the corresponding strings for the current locale. Noon is treated as 'P\-M' and midnight as 'A\-M'

{\bfseries \%P} \-: Like p but in lower case\-: 'am' or 'pm' or a corresponding string for the current locale.

{\bfseries \%c} \-: The preferred date and time representation for the current locale.

{\bfseries \%x} \-: The preferred date representation for the current locale without the time.

{\bfseries \%X} \-: The preferred time representation for the current locale without the date.

{\bfseries \%r} \-: The complete calendar time using the A\-M/\-P\-M format of the current locale.

{\bfseries \%R} \-: The hour and minute in decimal numbers using the format H\-:M.

{\bfseries \%T} \-: The time of day in decimal numbers using the format H\-:M\-:S.

{\bfseries \%D} \-: The date using the format \%m/\%d/\%y.

{\bfseries \%F} \-: The date using the format \%Y-\/\%m-\/\%d.

(For more reference on the available {\bfseries L\-I\-B\-C date format specifiers}, please visit the link\-: \href{http://www.gnu.org/s/hello/manual/libc.html#Formatting-Calendar-Time}{\tt http\-://www.\-gnu.\-org/s/hello/manual/libc.\-html\#\-Formatting-\/\-Calendar-\/\-Time} )

Datetime widget can provide Unicode {\bfseries separators} in between its fields except for A\-M/\-P\-M field. A separator can be any {\bfseries Unicode character} other than the L\-I\-B\-C standard date format specifiers.( Example\-: In the format \%b \%d {\bfseries }, \%y \%H {\bfseries }\-: \%M comma(,) is separator for date field \%d and colon(\-:) is separator for hour field \%H ).

The default format is a predefined one, based on the system Locale.

Hour format 12hr(1-\/12) or 24hr(0-\/23) display can be selected by setting the corresponding user format.

Datetime supports six fields\-: Year, Month, Date, Hour, Minute, A\-M/\-P\-M. Depending on the Datetime module that is loaded, the user can see different U\-I to select the individual field values.

The individual fields of Datetime can be arranged in any order according to the format set by application.

There is a provision to set the visibility of a particular field as T\-R\-U\-E/ F\-A\-L\-S\-E so that {\bfseries only time/ only date / only required fields} will be displayed.

Each field is having a default minimum and maximum values just like the daily calendar information. These min/max values can be modified as per the application usage.

User can enter the values only in between the range of maximum and minimum. Apart from these A\-P\-Is, there is a provision to display only a limited set of values out of the possible values. A\-P\-Is to select the individual field limits are intended for this purpose.

The whole widget is left aligned and its size grows horizontally depending on the current format and each field's visible/disabled state.

Datetime individual field selection is implemented in a modular style. Module can be implemented as a Ctxpopup based selection or an I\-S\-E based selection or even a spinner like selection etc.

{\bfseries Datetime Module design\-:}

The following functions are expected to be implemented in a Datetime module\-:

{\bfseries Field creation\-:} 
\begin{DoxyPre}\end{DoxyPre}



\begin{DoxyPre} \_\_\_\_\_\_\_\_\_\_                                            \_\_\_\_\_\_\_\_\_\_
|          |----- obj\_hook() ---------------------->>>|          |
|          |<<<----------------returns Mod\_data ------|          |
| Datetime |\_\_\_\_\_\_\_                                   |          |
|  widget  |       |Assign module call backs          |  Module  |
|   base   |<<<\_\_\_\_|                                  |          |
|          |                                          |          |
|          |----- field\_create() ------------------>>>|          |
|\_\_\_\_\_\_\_\_\_\_|<<<----------------returns field\_obj -----|\_\_\_\_\_\_\_\_\_\_|\end{DoxyPre}



\begin{DoxyPre}\end{DoxyPre}


{\bfseries Field value setting\-:} 
\begin{DoxyPre}\end{DoxyPre}



\begin{DoxyPre} \_\_\_\_\_\_\_\_\_\_                                          \_\_\_\_\_\_\_\_\_\_
|          |                                        |          |
| Datetime |<<<----------elm\_datetime\_value\_set()---|          |
|  widget  |                                        |  Module  |
|   base   |----display\_field\_value()------------>>>|          |
|\_\_\_\_\_\_\_\_\_\_|                                        |\_\_\_\_\_\_\_\_\_\_|\end{DoxyPre}



\begin{DoxyPre}\end{DoxyPre}


{\bfseries del\-\_\-hook\-:} 
\begin{DoxyPre}
 \_\_\_\_\_\_\_\_\_\_                                          \_\_\_\_\_\_\_\_\_\_
|          |                                        |          |
| Datetime |----obj\_unhook()-------------------->>>>|          |
|  widget  |                                        |  Module  |
|   base   |         <<<-----frees mod\_data---------|          |
|\_\_\_\_\_\_\_\_\_\_|                                        |\_\_\_\_\_\_\_\_\_\_|\end{DoxyPre}



\begin{DoxyPre}\end{DoxyPre}


Any module can use the following shared functions that are implemented in elm\-\_\-datetime.\-c \-:

{\bfseries field\-\_\-format\-\_\-get()} -\/ gives the field format.

{\bfseries field\-\_\-limit\-\_\-get()} -\/ gives the field minimum, maximum limits.

To enable a module, set the E\-L\-M\-\_\-\-M\-O\-D\-U\-L\-E\-S environment variable as shown\-:

{\bfseries export E\-L\-M\-\_\-\-M\-O\-D\-U\-L\-E\-S=\char`\"{}datetime\-\_\-input\-\_\-ctxpopup$>$datetime/api\char`\"{}}

This widget inherits from the \hyperlink{group__Layout}{Layout} one, so that all the functions acting on it also work for datetime objects.

This widget emits the following signals, besides the ones sent from Layout\-: \begin{DoxyItemize}
\item {\bfseries \char`\"{}changed\char`\"{}} -\/ whenever Datetime field value is changed, this signal is sent. \item {\bfseries \char`\"{}language,changed\char`\"{}} -\/ whenever system locale changes, this signal is sent. \item {\ttfamily \char`\"{}focused\char`\"{}} -\/ When the datetime has received focus. (since 1.\-8) \item {\ttfamily \char`\"{}unfocused\char`\"{}} -\/ When the datetime has lost focus. (since 1.\-8)\end{DoxyItemize}
Here is an example on its usage\-: \begin{DoxyItemize}
\item \hyperlink{datetime_example}{Datetime widget example} \end{DoxyItemize}


\subsection{Macro Definition Documentation}
\index{Datetime@{Datetime}!elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get@{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get}}
\index{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get@{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{fieldtype, }
\item[{}]{min, }
\item[{}]{max}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-E\-L\-D\-\_\-\-L\-I\-M\-I\-T\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type, fieldtype), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, min), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, max)}\label{group__Datetime_ga9e4a8c602b94ae656e5d838d5c5ab176}


Get the field limits of a field. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fieldtype} & \\
\hline
\mbox{\tt out}  & {\em min} & \\
\hline
\mbox{\tt out}  & {\em max} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga91831e49d43f2120d719f8b441053353}{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get().

\index{Datetime@{Datetime}!elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set@{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set}}
\index{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set@{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{fieldtype, }
\item[{}]{min, }
\item[{}]{max}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-E\-L\-D\-\_\-\-L\-I\-M\-I\-T\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type, fieldtype), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, min), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, max)}\label{group__Datetime_ga9c4f8a8ef7172fc385ee90a5ff68f3a9}


Set the field limits of a field. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fieldtype} & \\
\hline
\mbox{\tt in}  & {\em min} & \\
\hline
\mbox{\tt in}  & {\em max} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga9454cc500c4dbb2c6e1461f834e8085c}{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set().

\index{Datetime@{Datetime}!elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get@{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get}}
\index{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get@{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{fieldtype, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-E\-L\-D\-\_\-\-V\-I\-S\-I\-B\-L\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type, fieldtype), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Datetime_gad48a2bf5e86a65b91a22d6a997b63b9b}


Get whether a field can be visible/not. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fieldtype} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga1f2bf676a5da157b3706372e078cceb8}{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get().

\index{Datetime@{Datetime}!elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set@{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set}}
\index{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set@{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{fieldtype, }
\item[{}]{visible}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-E\-L\-D\-\_\-\-V\-I\-S\-I\-B\-L\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type, fieldtype), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, visible)}\label{group__Datetime_gafd8b0d8198201b173a5cb12ae8ed255d}


Set a field to be visible or not. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fieldtype} & \\
\hline
\mbox{\tt in}  & {\em visible} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga835e428d8876df70aba140f5d5cc7a58}{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set().

\index{Datetime@{Datetime}!elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-get@{elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-get}}
\index{elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-get@{elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-get}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-O\-R\-M\-A\-T\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$$\ast$, ret)}\label{group__Datetime_ga8d0734025cb5d32eaa2d43d412c1263d}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get the datetime format.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga5a0c290807bab56163628990b654a06f}{elm\-\_\-datetime\-\_\-format\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-datetime\-\_\-format\-\_\-get().

\index{Datetime@{Datetime}!elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-set@{elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-set}}
\index{elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-set@{elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-set}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{fmt}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-O\-R\-M\-A\-T\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, fmt)}\label{group__Datetime_gaf1c1b3596c0f6fa05841dacbf3be1455}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the datetime format.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fmt} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga75def6ec9fd0ee435c809ddf187c9bac}{elm\-\_\-datetime\-\_\-format\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-datetime\-\_\-format\-\_\-set().

\index{Datetime@{Datetime}!elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-get@{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-get}}
\index{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-get@{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-get}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{currtime, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-V\-A\-L\-U\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(struct tm $\ast$, currtime), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Datetime_gac5458fb5dc7c3a013590560311954ae2}


Get the current value of a field. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em currtime} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_gada5a279d006e3bc9cff798925ff16041}{elm\-\_\-datetime\-\_\-value\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-datetime\-\_\-value\-\_\-get().

\index{Datetime@{Datetime}!elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get@{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get}}
\index{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get@{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{maxtime, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-V\-A\-L\-U\-E\-\_\-\-M\-A\-X\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(struct tm $\ast$, maxtime), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Datetime_ga3f2f9b51960b8ab66ac7fd81487151c4}


Get the upper boundary of a field. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em maxtime} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga9b765fb7821624eb8cb2c95bfe5ee663}{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get().

\index{Datetime@{Datetime}!elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set@{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set}}
\index{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set@{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{maxtime, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-V\-A\-L\-U\-E\-\_\-\-M\-A\-X\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const struct tm $\ast$, maxtime), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Datetime_ga7bc173ec98aa8557524233c68212c503}


Set the upper boundary of a field. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em maxtime} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga21d37ea2acd3ec35e5d5ef50929a5302}{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set().

\index{Datetime@{Datetime}!elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-get@{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-get}}
\index{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-get@{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-get}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{mintime, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-V\-A\-L\-U\-E\-\_\-\-M\-I\-N\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(struct tm $\ast$, mintime), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Datetime_gaa41c6e7cf07ca5d967d376de37756e74}


Get the lower boundary of a field. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em mintime} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
elm\-\_\-datetime\-\_\-value\-\_\-min\-\_\-get 
\end{DoxySeeAlso}
\index{Datetime@{Datetime}!elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set@{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set}}
\index{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set@{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{mintime, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-V\-A\-L\-U\-E\-\_\-\-M\-I\-N\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const struct tm $\ast$, mintime), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Datetime_ga74b1c351d1aff0e0225264ec2ab69c7e}


Set the lower boundary of a field. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mintime} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga8d8a215c66e4d5e6dd25e0c44c7ebd18}{elm\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set().

\index{Datetime@{Datetime}!elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-set@{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-set}}
\index{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-set@{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-set}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{newtime, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-V\-A\-L\-U\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const struct tm $\ast$, newtime), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Datetime_ga7fd9cc578592b3b4c3f2b0d4ac34f635}


Set the current value of a Datetime object. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em newtime} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga56f4fe868c7d9cca593e3c6749905e48}{elm\-\_\-datetime\-\_\-value\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-datetime\-\_\-value\-\_\-set().



\subsection{Function Documentation}
\index{Datetime@{Datetime}!elm\-\_\-datetime\-\_\-add@{elm\-\_\-datetime\-\_\-add}}
\index{elm\-\_\-datetime\-\_\-add@{elm\-\_\-datetime\-\_\-add}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-datetime\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}Evas\-\_\-\-Object$\ast$ elm\-\_\-datetime\-\_\-add (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga3dac2d32e2137fac111d91dc15fcc270}


Adds a new datetime Widget. 

The default datetime format and corresponding strings are based on current locale.


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new object or N\-U\-L\-L if it cannot be created
\end{DoxyReturn}
This function inserts a new datetime widget on the canvas. \index{Datetime@{Datetime}!elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get@{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get}}
\index{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get@{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type}]{fieldtype, }
\item[{int $\ast$}]{min, }
\item[{int $\ast$}]{max}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga91831e49d43f2120d719f8b441053353}


Get the field limits of a field. 

Limits can be set to individual fields, independently, except for A\-M/\-P\-M field. Any field can display the values only in between these Minimum and Maximum limits unless the corresponding time value is restricted from Min\-Time to Max\-Time. That is, Min/ Max field limits always works under the limitations of Min\-Time/ Max\-Time.

There is no provision to set the limits of A\-M/\-P\-M field.


\begin{DoxyParams}{Parameters}
{\em obj} & The datetime object \\
\hline
{\em fieldtype} & Type of the field. E\-L\-M\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-Y\-E\-A\-R etc. \\
\hline
{\em min} & Reference to field's minimum value \\
\hline
{\em max} & Reference to field's maximum value\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga9454cc500c4dbb2c6e1461f834e8085c}{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-get.

\index{Datetime@{Datetime}!elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set@{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set}}
\index{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set@{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type}]{fieldtype, }
\item[{int}]{min, }
\item[{int}]{max}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga9454cc500c4dbb2c6e1461f834e8085c}


Set the field limits of a field. 

Limits can be set to individual fields, independently, except for A\-M/\-P\-M field. Any field can display the values only in between these Minimum and Maximum limits unless the corresponding time value is restricted from Min\-Time to Max\-Time. That is, Min/ Max field limits always works under the limitations of Min\-Time/ Max\-Time.

There is no provision to set the limits of A\-M/\-P\-M field.


\begin{DoxyParams}{Parameters}
{\em obj} & The datetime object \\
\hline
{\em fieldtype} & Type of the field. E\-L\-M\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-Y\-E\-A\-R etc. \\
\hline
{\em min} & Reference to field's minimum value \\
\hline
{\em max} & Reference to field's maximum value\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga9454cc500c4dbb2c6e1461f834e8085c}{elm\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-limit\-\_\-set.

\index{Datetime@{Datetime}!elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get@{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get}}
\index{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get@{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type}]{fieldtype}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga1f2bf676a5da157b3706372e078cceb8}


Get whether a field can be visible/not. 


\begin{DoxyParams}{Parameters}
{\em obj} & The datetime object \\
\hline
{\em fieldtype} & Type of the field. E\-L\-M\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-Y\-E\-A\-R etc \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
bool {\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E}, if field can be visible. {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga835e428d8876df70aba140f5d5cc7a58}{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get.

\index{Datetime@{Datetime}!elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set@{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set}}
\index{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set@{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-Datetime\-\_\-\-Field\-\_\-\-Type}]{fieldtype, }
\item[{Eina\-\_\-\-Bool}]{visible}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga835e428d8876df70aba140f5d5cc7a58}


Set a field to be visible or not. 

Setting this A\-P\-I True does not ensure that the field is visible, apart from this, the field's format must be present in Datetime overall format. If a field's visibility is set to False then it won't appear even though its format is present in overall format. So if and only if this A\-P\-I is set true and the corresponding field's format is present in Datetime format, the field is visible.

By default the field visibility is set to True.


\begin{DoxyParams}{Parameters}
{\em obj} & The datetime object \\
\hline
{\em fieldtype} & Type of the field. E\-L\-M\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E\-\_\-\-Y\-E\-A\-R etc. \\
\hline
{\em visible} & {\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} field can be visible, {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga1f2bf676a5da157b3706372e078cceb8}{elm\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-get()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-datetime\-\_\-field\-\_\-visible\-\_\-set.

\index{Datetime@{Datetime}!elm\-\_\-datetime\-\_\-format\-\_\-get@{elm\-\_\-datetime\-\_\-format\-\_\-get}}
\index{elm\-\_\-datetime\-\_\-format\-\_\-get@{elm\-\_\-datetime\-\_\-format\-\_\-get}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-datetime\-\_\-format\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ elm\-\_\-datetime\-\_\-format\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga5a0c290807bab56163628990b654a06f}


Get the datetime format. 

Format is a combination of allowed Libc date format specifiers like\-: \char`\"{}\%b \%d, \%\-Y \%\-I \-: \%\-M \%p\char`\"{}.

Maximum allowed format length is 64 chars.

Format can include separators for each individual datetime field except for A\-M/\-P\-M field.

Each separator can be a maximum of 6 U\-T\-F-\/8 bytes. Space is also taken as a separator.

Following are the allowed set of format specifiers for each datetime field.

{\bfseries \%Y} \-: The year as a decimal number including the century.

{\bfseries \%y} \-: The year as a decimal number without a century (range 00 to 99).

{\bfseries \%m} \-: The month as a decimal number (range 01 to 12).

{\bfseries \%b} \-: The abbreviated month name according to the current locale.

{\bfseries \%B} \-: The full month name according to the current locale.

{\bfseries \%h} \-: The abbreviated month name according to the current locale(same as \%b).

{\bfseries \%d} \-: The day of the month as a decimal number (range 01 to 31).

{\bfseries \%e} \-: The day of the month as a decimal number (range 1 to 31). single digits are preceded by a blank.

{\bfseries \%I} \-: The hour as a decimal number using a 12-\/hour clock (range 01 to 12).

{\bfseries \%H} \-: The hour as a decimal number using a 24-\/hour clock (range 00 to 23).

{\bfseries \%k} \-: The hour (24-\/hour clock) as a decimal number (range 0 to 23). single digits are preceded by a blank.

{\bfseries \%l} \-: The hour (12-\/hour clock) as a decimal number (range 1 to 12); single digits are preceded by a blank.

{\bfseries \%M} \-: The minute as a decimal number (range 00 to 59).

{\bfseries \%p} \-: Either 'A\-M' or 'P\-M' according to the given time value, or the corresponding strings for the current locale. Noon is treated as 'P\-M' and midnight as 'A\-M'.

{\bfseries \%P} \-: Like p but in lower case\-: 'am' or 'pm' or a corresponding string for the current locale.

{\bfseries \%c} \-: The preferred date and time representation for the current locale.

{\bfseries \%x} \-: The preferred date representation for the current locale without the time.

{\bfseries \%X} \-: The preferred time representation for the current locale without the date.

{\bfseries \%r} \-: The complete calendar time using the A\-M/\-P\-M format of the current locale.

{\bfseries \%R} \-: The hour and minute in decimal numbers using the format H\-:M.

{\bfseries \%T} \-: The time of day in decimal numbers using the format H\-:M\-:S.

{\bfseries \%D} \-: The date using the format \%m/\%d/\%y.

{\bfseries \%F} \-: The date using the format \%Y-\/\%m-\/\%d.

These specifiers can be arranged in any order and the widget will display the fields accordingly.

Default format is taken as per the system locale settings.


\begin{DoxyParams}{Parameters}
{\em obj} & The datetime object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The datetime format string. Example\-: \char`\"{}\%b \%d, \%\-Y \%\-I \-: \%\-M \%p\char`\"{}
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga75def6ec9fd0ee435c809ddf187c9bac}{elm\-\_\-datetime\-\_\-format\-\_\-set()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-get.

\index{Datetime@{Datetime}!elm\-\_\-datetime\-\_\-format\-\_\-set@{elm\-\_\-datetime\-\_\-format\-\_\-set}}
\index{elm\-\_\-datetime\-\_\-format\-\_\-set@{elm\-\_\-datetime\-\_\-format\-\_\-set}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-datetime\-\_\-format\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-datetime\-\_\-format\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{const char $\ast$}]{fmt}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga75def6ec9fd0ee435c809ddf187c9bac}


Set the datetime format. 

Format is a combination of allowed Libc date format specifiers like\-: \char`\"{}\%b \%d, \%\-Y \%\-I \-: \%\-M \%p\char`\"{}.

Maximum allowed format length is 64 chars.

Format can include separators for each individual datetime field except for A\-M/\-P\-M field.

Each separator can be a maximum of 6 U\-T\-F-\/8 bytes. Space is also taken as a separator.

Following are the allowed set of format specifiers for each datetime field.

{\bfseries \%Y} \-: The year as a decimal number including the century.

{\bfseries \%y} \-: The year as a decimal number without a century (range 00 to 99).

{\bfseries \%m} \-: The month as a decimal number (range 01 to 12).

{\bfseries \%b} \-: The abbreviated month name according to the current locale.

{\bfseries \%B} \-: The full month name according to the current locale.

{\bfseries \%h} \-: The abbreviated month name according to the current locale(same as \%b).

{\bfseries \%d} \-: The day of the month as a decimal number (range 01 to 31).

{\bfseries \%e} \-: The day of the month as a decimal number (range 1 to 31). single digits are preceded by a blank.

{\bfseries \%I} \-: The hour as a decimal number using a 12-\/hour clock (range 01 to 12).

{\bfseries \%H} \-: The hour as a decimal number using a 24-\/hour clock (range 00 to 23).

{\bfseries \%k} \-: The hour (24-\/hour clock) as a decimal number (range 0 to 23). single digits are preceded by a blank.

{\bfseries \%l} \-: The hour (12-\/hour clock) as a decimal number (range 1 to 12); single digits are preceded by a blank.

{\bfseries \%M} \-: The minute as a decimal number (range 00 to 59).

{\bfseries \%p} \-: Either 'A\-M' or 'P\-M' according to the given time value, or the corresponding strings for the current locale. Noon is treated as 'P\-M' and midnight as 'A\-M'.

{\bfseries \%P} \-: Like p but in lower case\-: 'am' or 'pm' or a corresponding string for the current locale.

{\bfseries \%c} \-: The preferred date and time representation for the current locale.

{\bfseries \%x} \-: The preferred date representation for the current locale without the time.

{\bfseries \%X} \-: The preferred time representation for the current locale without the date.

{\bfseries \%r} \-: The complete calendar time using the A\-M/\-P\-M format of the current locale.

{\bfseries \%R} \-: The hour and minute in decimal numbers using the format H\-:M.

{\bfseries \%T} \-: The time of day in decimal numbers using the format H\-:M\-:S.

{\bfseries \%D} \-: The date using the format \%m/\%d/\%y.

{\bfseries \%F} \-: The date using the format \%Y-\/\%m-\/\%d.

These specifiers can be arranged in any order and the widget will display the fields accordingly.

Default format is taken as per the system locale settings.


\begin{DoxyParams}{Parameters}
{\em obj} & The datetime object \\
\hline
{\em fmt} & The datetime format\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga5a0c290807bab56163628990b654a06f}{elm\-\_\-datetime\-\_\-format\-\_\-get()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-datetime\-\_\-format\-\_\-set.

\index{Datetime@{Datetime}!elm\-\_\-datetime\-\_\-value\-\_\-get@{elm\-\_\-datetime\-\_\-value\-\_\-get}}
\index{elm\-\_\-datetime\-\_\-value\-\_\-get@{elm\-\_\-datetime\-\_\-value\-\_\-get}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-datetime\-\_\-value\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-datetime\-\_\-value\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{struct tm $\ast$}]{currtime}
\end{DoxyParamCaption}
)}\label{group__Datetime_gada5a279d006e3bc9cff798925ff16041}


Get the current value of a field. 

Year\-: years since 1900. Negative value represents year below 1900 (year value -\/30 represents 1870). Year default range is from 70 to 137.

Month\-: default value range is from 0 to 11.

Date\-: default value range is from 1 to 31 according to the month value.

Hour\-: default value will be in terms of 24 hr format (0$\sim$23)

Minute\-: default value range is from 0 to 59.


\begin{DoxyParams}{Parameters}
{\em obj} & The datetime object. \\
\hline
{\em currtime} & Time structure. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\-I\-N\-A\-\_\-\-T\-R\-U\-E if current time is returned successfully.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
elm\-\_\-datetime\-\_\-field\-\_\-value\-\_\-set() 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-get.

\index{Datetime@{Datetime}!elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get@{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get}}
\index{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get@{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{struct tm $\ast$}]{maxtime}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga9b765fb7821624eb8cb2c95bfe5ee663}


Get the upper boundary of a field. 

Year\-: years since 1900. Negative value represents year below 1900 (year value -\/30 represents 1870). Year default range is from 70 to 137.

Month\-: default value range is from 0 to 11.

Date\-: default value range is from 1 to 31 according to the month value.

Hour\-: default value will be in terms of 24 hr format (0$\sim$23)

Minute\-: default value range is from 0 to 59.


\begin{DoxyParams}{Parameters}
{\em obj} & The datetime object \\
\hline
{\em maxtime} & Time structure containing the maximum time value. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\-I\-N\-A\-\_\-\-T\-R\-U\-E if maximum value is returned successfully.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga21d37ea2acd3ec35e5d5ef50929a5302}{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get.

\index{Datetime@{Datetime}!elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set@{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set}}
\index{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set@{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{const struct tm $\ast$}]{maxtime}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga21d37ea2acd3ec35e5d5ef50929a5302}


Set the upper boundary of a field. 

Year\-: years since 1900. Negative value represents year below 1900 (year value -\/30 represents 1870). Year default range is from 70 to 137.

Month\-: default value range is from 0 to 11.

Date\-: default value range is from 1 to 31 according to the month value.

Hour\-: default value will be in terms of 24 hr format (0$\sim$23)

Minute\-: default value range is from 0 to 59.


\begin{DoxyParams}{Parameters}
{\em obj} & The datetime object \\
\hline
{\em maxtime} & Time structure containing the maximum time value. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\-I\-N\-A\-\_\-\-T\-R\-U\-E if maximum value is accepted.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga9b765fb7821624eb8cb2c95bfe5ee663}{elm\-\_\-datetime\-\_\-value\-\_\-max\-\_\-get()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-max\-\_\-set.

\index{Datetime@{Datetime}!elm\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set@{elm\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set}}
\index{elm\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set@{elm\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{const struct tm $\ast$}]{mintime}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga8d8a215c66e4d5e6dd25e0c44c7ebd18}


Set the lower boundary of a field. 

Year\-: years since 1900. Negative value represents year below 1900 (year value -\/30 represents 1870). Year default range is from 70 to 137.

Month\-: default value range is from 0 to 11.

Date\-: default value range is from 1 to 31 according to the month value.

Hour\-: default value will be in terms of 24 hr format (0$\sim$23)

Minute\-: default value range is from 0 to 59.


\begin{DoxyParams}{Parameters}
{\em obj} & The datetime object. \\
\hline
{\em mintime} & Time structure containing the minimum time value. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\-I\-N\-A\-\_\-\-T\-R\-U\-E if minimum value is accepted.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
elm\-\_\-datetime\-\_\-value\-\_\-min\-\_\-get() 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-min\-\_\-set.

\index{Datetime@{Datetime}!elm\-\_\-datetime\-\_\-value\-\_\-set@{elm\-\_\-datetime\-\_\-value\-\_\-set}}
\index{elm\-\_\-datetime\-\_\-value\-\_\-set@{elm\-\_\-datetime\-\_\-value\-\_\-set}!Datetime@{Datetime}}
\subsubsection[{elm\-\_\-datetime\-\_\-value\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-datetime\-\_\-value\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{const struct tm $\ast$}]{newtime}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga56f4fe868c7d9cca593e3c6749905e48}


Set the current value of a Datetime object. 

Year\-: years since 1900. Negative value represents year below 1900 (year value -\/30 represents 1870). Year default range is from 70 to 137.

Month\-: default value range is from 0 to 11.

Date\-: default value range is from 1 to 31 according to the month value.

Hour\-: default value will be in terms of 24 hr format (0$\sim$23)

Minute\-: default value range is from 0 to 59.


\begin{DoxyParams}{Parameters}
{\em obj} & The datetime object. \\
\hline
{\em newtime} & Time structure filled with values to be set. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\-I\-N\-A\-\_\-\-T\-R\-U\-E if current time is set successfully.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Datetime_ga56f4fe868c7d9cca593e3c6749905e48}{elm\-\_\-datetime\-\_\-value\-\_\-set()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-datetime\-\_\-value\-\_\-set.

