\section{Datetime}
\label{group__Elm__Datetime}\index{Datetime@{Datetime}}
\subsection*{Enumerations}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Datetime_ga3a0cea487669b04d0e26490931bc68c0}{elm\+\_\+obj\+\_\+datetime\+\_\+format\+\_\+set} (const char $\ast$fmt)
\begin{DoxyCompactList}\small\item\em Set the datetime format. \end{DoxyCompactList}\item 
E\+O\+A\+PI const char $\ast$ \hyperlink{group__Elm__Datetime_ga1c33d72156f12ffffa7327b306f4c0bf}{elm\+\_\+obj\+\_\+datetime\+\_\+format\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the datetime format. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Datetime_ga095ea1e9297f6cf2fac045cf7bfd5e27}{elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set} (\hyperlink{group__Elm__Datetime_gaa1825497ac8ec6d500439c33945af8b6}{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type} fieldtype, int min, int max)
\begin{DoxyCompactList}\small\item\em Set the field limits of a field. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Datetime_gaa022185f7c584c2cf475d9103ae1a6ea}{elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+get} (\hyperlink{group__Elm__Datetime_gaa1825497ac8ec6d500439c33945af8b6}{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 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_ga27ff31399a5b504d450863838a180e95}{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+min\+\_\+set} (const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$mintime)
\begin{DoxyCompactList}\small\item\em Set the lower boundary of a field. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_gae0e957b2be5d04b0f49d755ba80c6762}{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+min\+\_\+get} (Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$mintime)
\begin{DoxyCompactList}\small\item\em Get the lower boundary of a field. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_ga0f143f6fcd32c60dfbc1afb27f7c73ae}{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+set} (const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$newtime)
\begin{DoxyCompactList}\small\item\em Set the current value of a Datetime object. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_ga091dc078e37fe2805bf899edbc364264}{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+get} (Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$currtime)
\begin{DoxyCompactList}\small\item\em Get the current value of a Datetime object. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Datetime_ga35c68fccd33e21b27fd30aeab59eb11f}{elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set} (\hyperlink{group__Elm__Datetime_gaa1825497ac8ec6d500439c33945af8b6}{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type} fieldtype, Eina\+\_\+\+Bool visible)
\begin{DoxyCompactList}\small\item\em Set a field to be visible or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_ga378ca134f4e5cc01f310c25391592ffa}{elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get} (\hyperlink{group__Elm__Datetime_gaa1825497ac8ec6d500439c33945af8b6}{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type} fieldtype)
\begin{DoxyCompactList}\small\item\em Get whether a field can be visible/not. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_ga1afa204a21eb0f83905e1f4346c57667}{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set} (const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$maxtime)
\begin{DoxyCompactList}\small\item\em Set the upper boundary of a field. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_gace18af7b69941487a37944919c6c04c2}{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get} (Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$maxtime)
\begin{DoxyCompactList}\small\item\em Get the upper boundary of a field. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Datetime_gaf6cde8a45b91c2b1613d8cdf04bb76fd}{elm\+\_\+datetime\+\_\+format\+\_\+set} (Elm\+\_\+\+Datetime $\ast$obj, const char $\ast$fmt)
\begin{DoxyCompactList}\small\item\em Set the datetime format. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Elm__Datetime_gaaaff58d2009025577f98379f611f8e28}{elm\+\_\+datetime\+\_\+format\+\_\+get} (const Elm\+\_\+\+Datetime $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the datetime format. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Datetime_gaa7e73c32dec9bb59872598c1793664b7}{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set} (Elm\+\_\+\+Datetime $\ast$obj, \hyperlink{group__Elm__Datetime_gaa1825497ac8ec6d500439c33945af8b6}{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type} fieldtype, int min, int max)
\begin{DoxyCompactList}\small\item\em Set the field limits of a field. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Datetime_gae75fce1c20cfd4529eaeba8f4aaab385}{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+get} (const Elm\+\_\+\+Datetime $\ast$obj, \hyperlink{group__Elm__Datetime_gaa1825497ac8ec6d500439c33945af8b6}{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 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_gaa6e1368596bd2e63eb2101fad11b88da}{elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+set} (Elm\+\_\+\+Datetime $\ast$obj, const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$mintime)
\begin{DoxyCompactList}\small\item\em Set the lower boundary of a field. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_ga5f083be0e1f52e41c32b18e837eac43d}{elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+get} (const Elm\+\_\+\+Datetime $\ast$obj, Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$mintime)
\begin{DoxyCompactList}\small\item\em Get the lower boundary of a field. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_ga955ae7a7d3b0188a300c0124e3cffd31}{elm\+\_\+datetime\+\_\+value\+\_\+set} (Elm\+\_\+\+Datetime $\ast$obj, const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$newtime)
\begin{DoxyCompactList}\small\item\em Set the current value of a Datetime object. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_gad246c93c01cb8bfbf240c05003208a98}{elm\+\_\+datetime\+\_\+value\+\_\+get} (const Elm\+\_\+\+Datetime $\ast$obj, Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$currtime)
\begin{DoxyCompactList}\small\item\em Get the current value of a Datetime object. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Datetime_gad36a67de13ac659331aced582d845a27}{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set} (Elm\+\_\+\+Datetime $\ast$obj, \hyperlink{group__Elm__Datetime_gaa1825497ac8ec6d500439c33945af8b6}{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type} fieldtype, Eina\+\_\+\+Bool visible)
\begin{DoxyCompactList}\small\item\em Set a field to be visible or not. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_gaa26caacb883768b28cdff3347d92d307}{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get} (const Elm\+\_\+\+Datetime $\ast$obj, \hyperlink{group__Elm__Datetime_gaa1825497ac8ec6d500439c33945af8b6}{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type} fieldtype)
\begin{DoxyCompactList}\small\item\em Get whether a field can be visible/not. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_ga09f41fd97baea0786e15c3e57ffa0e15}{elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set} (Elm\+\_\+\+Datetime $\ast$obj, const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$maxtime)
\begin{DoxyCompactList}\small\item\em Set the upper boundary of a field. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Datetime_ga58db30f22e06c749e0fffbb6f43f584d}{elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get} (const Elm\+\_\+\+Datetime $\ast$obj, Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$maxtime)
\begin{DoxyCompactList}\small\item\em Get the upper boundary of a field. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Elm__Datetime_ga3dac2d32e2137fac111d91dc15fcc270}{elm\+\_\+datetime\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Adds a new datetime Widget. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{datetime_inheritance_tree}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{img/widget/datetime/preview-00}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{img/widget/datetime/preview-01}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{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\textquotesingle{}s locale} settings (Date includes Day, Month \& Year along with the defined separators and Time includes Hour, Minute \& A\+M/\+PM fields. Separator for A\+M/\+PM field is ignored.

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

Datetime format is a combination of L\+I\+BC 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 \textquotesingle{}AM\textquotesingle{} or \textquotesingle{}PM\textquotesingle{} according to the given time value, or the corresponding strings for the current locale. Noon is treated as \textquotesingle{}PM\textquotesingle{} and midnight as \textquotesingle{}AM\textquotesingle{}

{\bfseries \%P} \+: Like p but in lower case\+: \textquotesingle{}am\textquotesingle{} or \textquotesingle{}pm\textquotesingle{} 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/\+PM 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\+BC 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/\+PM field. A separator can be any {\bfseries Unicode character} other than the L\+I\+BC 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/\+PM. Depending on the Datetime module that is loaded, the user can see different UI 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\+SE 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\textquotesingle{}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\+SE 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\+ES environment variable as shown\+:

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

This widget inherits from the 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{Enumeration Type Documentation}
\index{Datetime@{Datetime}!Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type@{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}}
\index{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type@{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}!Datetime@{Datetime}}
\subsubsection[{\texorpdfstring{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}{Elm_Datetime_Field_Type}}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}}\label{group__Elm__Datetime_gaa1825497ac8ec6d500439c33945af8b6}


Identifies a Datetime field, The widget supports 6 fields \+: Year, month, Date, Hour, Minute, A\+M/\+PM. 

\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6a57f9a51d3c792a9ecd58c26ef610ff28}
}]Indicates Year field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6ac974324f9e139812cffca7419d7dd71c}
}]Indicates Month field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6ac439cdfe1224fd9a51e5eaf0d0977f87}
}]Indicates Date field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6a1a06797eb5657a0da15560dbb9603ee9}
}]Indicates Hour field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6ac003bb01ee1993ace1e29026a674f37a}
}]Indicates Minute field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6a57f9a51d3c792a9ecd58c26ef610ff28}
}]Indicates Year field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6ac974324f9e139812cffca7419d7dd71c}
}]Indicates Month field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6ac439cdfe1224fd9a51e5eaf0d0977f87}
}]Indicates Date field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6a1a06797eb5657a0da15560dbb9603ee9}
}]Indicates Hour field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6ac003bb01ee1993ace1e29026a674f37a}
}]Indicates Minute field. \end{description}
\end{Desc}
\index{Datetime@{Datetime}!Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type@{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}}
\index{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type@{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}!Datetime@{Datetime}}
\subsubsection[{\texorpdfstring{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}{Elm_Datetime_Field_Type}}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}}\label{group__Elm__Datetime_gaa1825497ac8ec6d500439c33945af8b6}


Identifies a Datetime field, The widget supports 6 fields \+: Year, month, Date, Hour, Minute, A\+M/\+PM. 

\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6a57f9a51d3c792a9ecd58c26ef610ff28}
}]Indicates Year field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6ac974324f9e139812cffca7419d7dd71c}
}]Indicates Month field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6ac439cdfe1224fd9a51e5eaf0d0977f87}
}]Indicates Date field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6a1a06797eb5657a0da15560dbb9603ee9}
}]Indicates Hour field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6ac003bb01ee1993ace1e29026a674f37a}
}]Indicates Minute field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+O\+N\+TH\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6a57f9a51d3c792a9ecd58c26ef610ff28}
}]Indicates Year field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+D\+A\+TE\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6ac974324f9e139812cffca7419d7dd71c}
}]Indicates Month field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+H\+O\+UR\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6ac439cdfe1224fd9a51e5eaf0d0977f87}
}]Indicates Date field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+M\+I\+N\+U\+TE\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6a1a06797eb5657a0da15560dbb9603ee9}
}]Indicates Hour field. \index{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM}!Datetime@{Datetime}}\index{Datetime@{Datetime}!E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM@{E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM}}\item[{\em 
E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM\label{group__Elm__Datetime_ggaa1825497ac8ec6d500439c33945af8b6ac003bb01ee1993ace1e29026a674f37a}
}]Indicates Minute field. \end{description}
\end{Desc}


\subsection{Function Documentation}
\index{Datetime@{Datetime}!elm\+\_\+datetime\+\_\+add@{elm\+\_\+datetime\+\_\+add}}
\index{elm\+\_\+datetime\+\_\+add@{elm\+\_\+datetime\+\_\+add}!Datetime@{Datetime}}
\subsubsection[{\texorpdfstring{elm\+\_\+datetime\+\_\+add(\+Evas\+\_\+\+Object $\ast$parent)}{elm_datetime_add(Evas_Object *parent)}}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+datetime\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Elm__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\+LL if it cannot be created
\end{DoxyReturn}
This function inserts a new datetime widget on the canvas. 

References E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+A\+M\+PM, elm\+\_\+layout\+\_\+content\+\_\+set(), elm\+\_\+layout\+\_\+content\+\_\+unset(), elm\+\_\+layout\+\_\+signal\+\_\+emit(), and elm\+\_\+layout\+\_\+sizing\+\_\+eval().

\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[{\texorpdfstring{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+get(const Elm\+\_\+\+Datetime $\ast$obj, Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype, int $\ast$min, int $\ast$max)}{elm_datetime_field_limit_get(const Elm_Datetime *obj, Elm_Datetime_Field_Type fieldtype, int *min, int *max)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Datetime $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}}]{fieldtype, }
\item[{int $\ast$}]{min, }
\item[{int $\ast$}]{max}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_gae75fce1c20cfd4529eaeba8f4aaab385}


Get the field limits of a field. 

Limits can be set to individual fields, independently, except for A\+M/\+PM 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 mintime/maxtime.

There is no provision to set the limits of A\+M/\+PM field.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em min} & Reference to field\textquotesingle{}s minimum value. \\
\hline
\mbox{\tt out}  & {\em max} & Reference to field\textquotesingle{}s maximum value. \\
\hline
\end{DoxyParams}


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[{\texorpdfstring{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set(\+Elm\+\_\+\+Datetime $\ast$obj, Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype, int min, int max)}{elm_datetime_field_limit_set(Elm_Datetime *obj, Elm_Datetime_Field_Type fieldtype, int min, int max)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}}]{fieldtype, }
\item[{int}]{min, }
\item[{int}]{max}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_gaa7e73c32dec9bb59872598c1793664b7}


Set the field limits of a field. 

Limits can be set to individual fields, independently, except for A\+M/\+PM 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 mintime/maxtime.

There is no provision to set the limits of A\+M/\+PM field.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em min} & Reference to field\textquotesingle{}s minimum value. \\
\hline
\mbox{\tt in}  & {\em max} & Reference to field\textquotesingle{}s maximum value. \\
\hline
\end{DoxyParams}


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[{\texorpdfstring{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get(const Elm\+\_\+\+Datetime $\ast$obj, Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype)}{elm_datetime_field_visible_get(const Elm_Datetime *obj, Elm_Datetime_Field_Type fieldtype)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Datetime $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}}]{fieldtype}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_gaa26caacb883768b28cdff3347d92d307}


Get whether a field can be visible/not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fieldtype} & Type of the field. \#\+E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+Y\+E\+AR etc.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, if field can be visible. {\ttfamily false} otherwise. 
\end{DoxyReturn}


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[{\texorpdfstring{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set(\+Elm\+\_\+\+Datetime $\ast$obj, Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype, Eina\+\_\+\+Bool visible)}{elm_datetime_field_visible_set(Elm_Datetime *obj, Elm_Datetime_Field_Type fieldtype, Eina_Bool visible)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}}]{fieldtype, }
\item[{Eina\+\_\+\+Bool}]{visible}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_gad36a67de13ac659331aced582d845a27}


Set a field to be visible or not. 

Setting this A\+PI to {\ttfamily true} does not ensure that the field is visible, apart from this, the field\textquotesingle{}s format must be present in Datetime overall format. If a field\textquotesingle{}s visibility is set to {\ttfamily false} then it won\textquotesingle{}t appear even though its format is present in overall format. So if and only if this A\+PI is set true and the corresponding field\textquotesingle{}s format is present in Datetime format, the field is visible.

By default the field visibility is set to {\ttfamily true}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em visible} & {\ttfamily true} field can be visible, {\ttfamily false} otherwise. \\
\hline
\end{DoxyParams}


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[{\texorpdfstring{elm\+\_\+datetime\+\_\+format\+\_\+get(const Elm\+\_\+\+Datetime $\ast$obj)}{elm_datetime_format_get(const Elm_Datetime *obj)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ elm\+\_\+datetime\+\_\+format\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Datetime $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_gaaaff58d2009025577f98379f611f8e28}


Get the datetime format. 

\begin{DoxyReturn}{Returns}
The datetime format. 
\end{DoxyReturn}


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[{\texorpdfstring{elm\+\_\+datetime\+\_\+format\+\_\+set(\+Elm\+\_\+\+Datetime $\ast$obj, const char $\ast$fmt)}{elm_datetime_format_set(Elm_Datetime *obj, const char *fmt)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+datetime\+\_\+format\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime $\ast$}]{obj, }
\item[{const char $\ast$}]{fmt}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_gaf6cde8a45b91c2b1613d8cdf04bb76fd}


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/\+PM field.

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

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}[1]{Parameters}
\mbox{\tt in}  & {\em fmt} & The datetime format. \\
\hline
\end{DoxyParams}


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[{\texorpdfstring{elm\+\_\+datetime\+\_\+value\+\_\+get(const Elm\+\_\+\+Datetime $\ast$obj, Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$currtime)}{elm_datetime_value_get(const Elm_Datetime *obj, Elm_Datetime_Time *currtime)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+datetime\+\_\+value\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Datetime $\ast$}]{obj, }
\item[{Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$}]{currtime}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_gad246c93c01cb8bfbf240c05003208a98}


Get 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}[1]{Parameters}
\mbox{\tt in,out}  & {\em currtime} & Time structure.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if current time is returned successfully. 
\end{DoxyReturn}


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[{\texorpdfstring{elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get(const Elm\+\_\+\+Datetime $\ast$obj, Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$maxtime)}{elm_datetime_value_max_get(const Elm_Datetime *obj, Elm_Datetime_Time *maxtime)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Datetime $\ast$}]{obj, }
\item[{Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$}]{maxtime}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga58db30f22e06c749e0fffbb6f43f584d}


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}[1]{Parameters}
\mbox{\tt in,out}  & {\em maxtime} & Time structure containing the maximum time value.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if maximum value is returned successfully. 
\end{DoxyReturn}


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[{\texorpdfstring{elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set(\+Elm\+\_\+\+Datetime $\ast$obj, const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$maxtime)}{elm_datetime_value_max_set(Elm_Datetime *obj, const Elm_Datetime_Time *maxtime)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime $\ast$}]{obj, }
\item[{const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$}]{maxtime}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga09f41fd97baea0786e15c3e57ffa0e15}


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}[1]{Parameters}
\mbox{\tt in}  & {\em maxtime} & Time structure containing the maximum time value.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if maximum value is accepted. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set().

\index{Datetime@{Datetime}!elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+get@{elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+get}}
\index{elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+get@{elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+get}!Datetime@{Datetime}}
\subsubsection[{\texorpdfstring{elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+get(const Elm\+\_\+\+Datetime $\ast$obj, Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$mintime)}{elm_datetime_value_min_get(const Elm_Datetime *obj, Elm_Datetime_Time *mintime)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Datetime $\ast$}]{obj, }
\item[{Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$}]{mintime}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga5f083be0e1f52e41c32b18e837eac43d}


Get 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}[1]{Parameters}
\mbox{\tt in,out}  & {\em mintime} & Time structure.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if minimum value is successfully returned. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+min\+\_\+get().

\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[{\texorpdfstring{elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+set(\+Elm\+\_\+\+Datetime $\ast$obj, const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$mintime)}{elm_datetime_value_min_set(Elm_Datetime *obj, const Elm_Datetime_Time *mintime)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime $\ast$}]{obj, }
\item[{const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$}]{mintime}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_gaa6e1368596bd2e63eb2101fad11b88da}


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}[1]{Parameters}
\mbox{\tt in}  & {\em mintime} & Time structure containing the minimum time value.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if minimum value is accepted. 
\end{DoxyReturn}


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[{\texorpdfstring{elm\+\_\+datetime\+\_\+value\+\_\+set(\+Elm\+\_\+\+Datetime $\ast$obj, const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$newtime)}{elm_datetime_value_set(Elm_Datetime *obj, const Elm_Datetime_Time *newtime)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+datetime\+\_\+value\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime $\ast$}]{obj, }
\item[{const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$}]{newtime}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga955ae7a7d3b0188a300c0124e3cffd31}


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}[1]{Parameters}
\mbox{\tt in}  & {\em newtime} & Time structure filled with values to be set.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if current time is set successfully. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+set().

\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[{\texorpdfstring{elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+get(\+Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype, int $\ast$min, int $\ast$max)}{elm_obj_datetime_field_limit_get(Elm_Datetime_Field_Type fieldtype, int *min, int *max)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}}]{fieldtype, }
\item[{int $\ast$}]{min, }
\item[{int $\ast$}]{max}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_gaa022185f7c584c2cf475d9103ae1a6ea}


Get the field limits of a field. 

Limits can be set to individual fields, independently, except for A\+M/\+PM 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 mintime/maxtime.

There is no provision to set the limits of A\+M/\+PM field.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em min} & Reference to field\textquotesingle{}s minimum value. \\
\hline
\mbox{\tt out}  & {\em max} & Reference to field\textquotesingle{}s maximum value. \\
\hline
\end{DoxyParams}


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[{\texorpdfstring{elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set(\+Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype, int min, int max)}{elm_obj_datetime_field_limit_set(Elm_Datetime_Field_Type fieldtype, int min, int max)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}}]{fieldtype, }
\item[{int}]{min, }
\item[{int}]{max}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga095ea1e9297f6cf2fac045cf7bfd5e27}


Set the field limits of a field. 

Limits can be set to individual fields, independently, except for A\+M/\+PM 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 mintime/maxtime.

There is no provision to set the limits of A\+M/\+PM field.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em min} & Reference to field\textquotesingle{}s minimum value. \\
\hline
\mbox{\tt in}  & {\em max} & Reference to field\textquotesingle{}s maximum value. \\
\hline
\end{DoxyParams}


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[{\texorpdfstring{elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get(\+Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype)}{elm_obj_datetime_field_visible_get(Elm_Datetime_Field_Type fieldtype)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}}]{fieldtype}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga378ca134f4e5cc01f310c25391592ffa}


Get whether a field can be visible/not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fieldtype} & Type of the field. \#\+E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+Y\+E\+AR etc.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, if field can be visible. {\ttfamily false} otherwise. 
\end{DoxyReturn}


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[{\texorpdfstring{elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set(\+Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype, Eina\+\_\+\+Bool visible)}{elm_obj_datetime_field_visible_set(Elm_Datetime_Field_Type fieldtype, Eina_Bool visible)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}}]{fieldtype, }
\item[{Eina\+\_\+\+Bool}]{visible}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga35c68fccd33e21b27fd30aeab59eb11f}


Set a field to be visible or not. 

Setting this A\+PI to {\ttfamily true} does not ensure that the field is visible, apart from this, the field\textquotesingle{}s format must be present in Datetime overall format. If a field\textquotesingle{}s visibility is set to {\ttfamily false} then it won\textquotesingle{}t appear even though its format is present in overall format. So if and only if this A\+PI is set true and the corresponding field\textquotesingle{}s format is present in Datetime format, the field is visible.

By default the field visibility is set to {\ttfamily true}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em visible} & {\ttfamily true} field can be visible, {\ttfamily false} otherwise. \\
\hline
\end{DoxyParams}


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[{\texorpdfstring{elm\+\_\+obj\+\_\+datetime\+\_\+format\+\_\+get(void)}{elm_obj_datetime_format_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI const char$\ast$ elm\+\_\+obj\+\_\+datetime\+\_\+format\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga1c33d72156f12ffffa7327b306f4c0bf}


Get the datetime format. 

\begin{DoxyReturn}{Returns}
The datetime format. 
\end{DoxyReturn}


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[{\texorpdfstring{elm\+\_\+obj\+\_\+datetime\+\_\+format\+\_\+set(const char $\ast$fmt)}{elm_obj_datetime_format_set(const char *fmt)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+datetime\+\_\+format\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{fmt}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga3a0cea487669b04d0e26490931bc68c0}


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/\+PM field.

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

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}[1]{Parameters}
\mbox{\tt in}  & {\em fmt} & The datetime format. \\
\hline
\end{DoxyParams}


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[{\texorpdfstring{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+get(\+Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$currtime)}{elm_obj_datetime_value_get(Elm_Datetime_Time *currtime)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+get (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$}]{currtime}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga091dc078e37fe2805bf899edbc364264}


Get 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}[1]{Parameters}
\mbox{\tt in,out}  & {\em currtime} & Time structure.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if current time is returned successfully. 
\end{DoxyReturn}


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[{\texorpdfstring{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get(\+Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$maxtime)}{elm_obj_datetime_value_max_get(Elm_Datetime_Time *maxtime)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$}]{maxtime}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_gace18af7b69941487a37944919c6c04c2}


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}[1]{Parameters}
\mbox{\tt in,out}  & {\em maxtime} & Time structure containing the maximum time value.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if maximum value is returned successfully. 
\end{DoxyReturn}


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[{\texorpdfstring{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set(const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$maxtime)}{elm_obj_datetime_value_max_set(const Elm_Datetime_Time *maxtime)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$}]{maxtime}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga1afa204a21eb0f83905e1f4346c57667}


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}[1]{Parameters}
\mbox{\tt in}  & {\em maxtime} & Time structure containing the maximum time value.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if maximum value is accepted. 
\end{DoxyReturn}


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[{\texorpdfstring{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+min\+\_\+get(\+Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$mintime)}{elm_obj_datetime_value_min_get(Elm_Datetime_Time *mintime)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+min\+\_\+get (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$}]{mintime}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_gae0e957b2be5d04b0f49d755ba80c6762}


Get 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}[1]{Parameters}
\mbox{\tt in,out}  & {\em mintime} & Time structure.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if minimum value is successfully returned. 
\end{DoxyReturn}


Referenced by elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+get().

\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[{\texorpdfstring{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+min\+\_\+set(const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$mintime)}{elm_obj_datetime_value_min_set(const Elm_Datetime_Time *mintime)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+min\+\_\+set (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$}]{mintime}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga27ff31399a5b504d450863838a180e95}


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}[1]{Parameters}
\mbox{\tt in}  & {\em mintime} & Time structure containing the minimum time value.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if minimum value is accepted. 
\end{DoxyReturn}


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[{\texorpdfstring{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+set(const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$newtime)}{elm_obj_datetime_value_set(const Elm_Datetime_Time *newtime)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+set (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Datetime\+\_\+\+Time $\ast$}]{newtime}
\end{DoxyParamCaption}
)}\label{group__Elm__Datetime_ga0f143f6fcd32c60dfbc1afb27f7c73ae}


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}[1]{Parameters}
\mbox{\tt in}  & {\em newtime} & Time structure filled with values to be set.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if current time is set successfully. 
\end{DoxyReturn}


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

