\section{Datetime}
\label{group__Datetime}\index{Datetime@{Datetime}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+P\+I void \hyperlink{group__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\+P\+I void \hyperlink{group__Datetime_ga095ea1e9297f6cf2fac045cf7bfd5e27}{elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set} (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\+P\+I void \hyperlink{group__Datetime_gaa022185f7c584c2cf475d9103ae1a6ea}{elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+get} (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\+P\+I Eina\+\_\+\+Bool \hyperlink{group__Datetime_ga56aca8cc883d0095c6c50db4b3ef17c8}{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+min\+\_\+set} (const struct tm $\ast$mintime)
\begin{DoxyCompactList}\small\item\em Set the lower boundary of a field. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Eina\+\_\+\+Bool \hyperlink{group__Datetime_ga5de41050489a7109979d313803e4cb98}{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+set} (const struct tm $\ast$newtime)
\begin{DoxyCompactList}\small\item\em Set the current value of a Datetime object. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Eina\+\_\+\+Bool \hyperlink{group__Datetime_ga31046e324c3410f8da1858b053dcca08}{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+get} (struct tm $\ast$currtime)
\begin{DoxyCompactList}\small\item\em Get the current value of a Datetime object. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Datetime_ga35c68fccd33e21b27fd30aeab59eb11f}{elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set} (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\+P\+I Eina\+\_\+\+Bool \hyperlink{group__Datetime_ga378ca134f4e5cc01f310c25391592ffa}{elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get} (Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype)
\begin{DoxyCompactList}\small\item\em Get whether a field can be visible/not. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Eina\+\_\+\+Bool \hyperlink{group__Datetime_ga8d342ecdf771ccd88d0ac265f2519254}{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set} (const struct tm $\ast$maxtime)
\begin{DoxyCompactList}\small\item\em Set the upper boundary of a field. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Eina\+\_\+\+Bool \hyperlink{group__Datetime_ga84af914352e02df642c1a116f6738a6e}{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get} (struct tm $\ast$maxtime)
\begin{DoxyCompactList}\small\item\em Get the upper boundary of a field. \end{DoxyCompactList}\item 
void \hyperlink{group__Datetime_gae27be5e27c82d3a18bfabe6052043446}{elm\+\_\+datetime\+::field\+\_\+limit\+\_\+set} (Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype\+\_\+, int min\+\_\+, int max\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the field limits of a field. \end{DoxyCompactList}\item 
void \hyperlink{group__Datetime_gad3f36cf8b23cb0d28b2fe8fb5e6ec0fb}{elm\+\_\+datetime\+::field\+\_\+limit\+\_\+get} (Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype\+\_\+, int $\ast$min\+\_\+, int $\ast$max\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get the field limits of a field. \end{DoxyCompactList}\item 
bool \hyperlink{group__Datetime_ga061f018e33bc28658596ebbf2d7eb4c1}{elm\+\_\+datetime\+::value\+\_\+min\+\_\+set} (const struct tm $\ast$mintime\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the lower boundary of a field. \end{DoxyCompactList}\item 
bool \hyperlink{group__Datetime_ga47b007a0fffe8b7350087867e3a2b831}{elm\+\_\+datetime\+::value\+\_\+set} (const struct tm $\ast$newtime\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the current value of a Datetime object. \end{DoxyCompactList}\item 
bool \hyperlink{group__Datetime_ga14b446282b0cf4e67bedc9180622e311}{elm\+\_\+datetime\+::value\+\_\+get} (struct tm $\ast$currtime\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get the current value of a Datetime object. \end{DoxyCompactList}\item 
void \hyperlink{group__Datetime_ga1a5385042a5d1a58d10115a659f22cf3}{elm\+\_\+datetime\+::field\+\_\+visible\+\_\+set} (Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype\+\_\+, bool visible\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set a field to be visible or not. \end{DoxyCompactList}\item 
bool \hyperlink{group__Datetime_ga1b4bd0c0bbd8961cf16c21a574801092}{elm\+\_\+datetime\+::field\+\_\+visible\+\_\+get} (Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type fieldtype\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get whether a field can be visible/not. \end{DoxyCompactList}\item 
bool \hyperlink{group__Datetime_gaec5ac9257c9418eef533cbb9482b5c8d}{elm\+\_\+datetime\+::value\+\_\+max\+\_\+set} (const struct tm $\ast$maxtime\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the upper boundary of a field. \end{DoxyCompactList}\item 
bool \hyperlink{group__Datetime_gaafff52c5ef1eeebb354d0f0daa1a8bcd}{elm\+\_\+datetime\+::value\+\_\+max\+\_\+get} (struct tm $\ast$maxtime\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get the upper boundary of a field. \end{DoxyCompactList}\item 
void \hyperlink{group__Datetime_ga97cc67b2c9e933be8721304124bebc49}{elm\+\_\+datetime\+\_\+format\+\_\+set} (Eo $\ast$obj, const char $\ast$fmt)
\begin{DoxyCompactList}\small\item\em Set the datetime format. \end{DoxyCompactList}\item 
void \hyperlink{group__Datetime_gafd843cdc054dbe79b228902073672d10}{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set} (Eo $\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 
void \hyperlink{group__Datetime_ga590842bb11b4f8c52e882e160a838ade}{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+get} (const Eo $\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 
Eina\+\_\+\+Bool \hyperlink{group__Datetime_gac1909ad084971c0bf2a130c1887d91c6}{elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+set} (Eo $\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_ga132d34883ab78f1ee7cda4a264ca72ab}{elm\+\_\+datetime\+\_\+value\+\_\+set} (Eo $\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_ga9d0f9091ba2f1fe292c866bffca24e3b}{elm\+\_\+datetime\+\_\+value\+\_\+get} (const Eo $\ast$obj, struct tm $\ast$currtime)
\begin{DoxyCompactList}\small\item\em Get the current value of a Datetime object. \end{DoxyCompactList}\item 
void \hyperlink{group__Datetime_gaec9b3c5f1185cb564e4e51649bef62fa}{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set} (Eo $\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 
Eina\+\_\+\+Bool \hyperlink{group__Datetime_ga10569de31713449540817e46522c8235}{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get} (const Eo $\ast$obj, 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__Datetime_gaa8194e4ddd65d56b5effbf45bc2a2755}{elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set} (Eo $\ast$obj, const struct tm $\ast$maxtime)
\begin{DoxyCompactList}\small\item\em Set the upper boundary of a field. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Datetime_ga72b8e272beb301caeaedd05939d0889f}{elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get} (const Eo $\ast$obj, struct tm $\ast$maxtime)
\begin{DoxyCompactList}\small\item\em Get the upper boundary of a field. \end{DoxyCompactList}\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}\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{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 Eo $\ast$}]{obj, }
\item[{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}]{fieldtype, }
\item[{int $\ast$}]{min, }
\item[{int $\ast$}]{max}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga590842bb11b4f8c52e882e160a838ade}


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{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_gafd843cdc054dbe79b228902073672d10}{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set()}
\end{DoxySeeAlso}

\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\+A\+R etc. \\
\hline
\mbox{\tt out}  & {\em min} & Reference to field's minimum value \\
\hline
\mbox{\tt out}  & {\em max} & Reference to field'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[{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set (
\begin{DoxyParamCaption}
\item[{Eo $\ast$}]{obj, }
\item[{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}]{fieldtype, }
\item[{int}]{min, }
\item[{int}]{max}
\end{DoxyParamCaption}
)}\label{group__Datetime_gafd843cdc054dbe79b228902073672d10}


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{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_gafd843cdc054dbe79b228902073672d10}{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set()}
\end{DoxySeeAlso}

\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\+A\+R etc. \\
\hline
\mbox{\tt in}  & {\em min} & Reference to field's minimum value \\
\hline
\mbox{\tt in}  & {\em max} & Reference to field'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[{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Eo $\ast$}]{obj, }
\item[{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}]{fieldtype}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga10569de31713449540817e46522c8235}


Get whether a field can be visible/not. 

\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_gaec9b3c5f1185cb564e4e51649bef62fa}{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set()}
\end{DoxySeeAlso}

\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\+A\+R etc \\
\hline
\end{DoxyParams}


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[{Eo $\ast$}]{obj, }
\item[{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}]{fieldtype, }
\item[{Eina\+\_\+\+Bool}]{visible}
\end{DoxyParamCaption}
)}\label{group__Datetime_gaec9b3c5f1185cb564e4e51649bef62fa}


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{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_ga10569de31713449540817e46522c8235}{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get()}
\end{DoxySeeAlso}

\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\+A\+R etc. \\
\hline
\mbox{\tt in}  & {\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}


References elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set().

\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[{Eo $\ast$}]{obj, }
\item[{const char $\ast$}]{fmt}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga97cc67b2c9e933be8721304124bebc49}


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{DoxySeeAlso}{See also}
elm\+\_\+datetime\+\_\+format\+\_\+get()
\end{DoxySeeAlso}

\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[{elm\+\_\+datetime\+\_\+value\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+datetime\+\_\+value\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Eo $\ast$}]{obj, }
\item[{struct tm $\ast$}]{currtime}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga9d0f9091ba2f1fe292c866bffca24e3b}


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{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if current time is returned successfully.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_ga132d34883ab78f1ee7cda4a264ca72ab}{elm\+\_\+datetime\+\_\+value\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in,out}  & {\em currtime} & Time structure. \\
\hline
\end{DoxyParams}


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 Eo $\ast$}]{obj, }
\item[{struct tm $\ast$}]{maxtime}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga72b8e272beb301caeaedd05939d0889f}


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{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if maximum value is returned successfully.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_gaa8194e4ddd65d56b5effbf45bc2a2755}{elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in,out}  & {\em maxtime} & Time structure containing the maximum time value. \\
\hline
\end{DoxyParams}


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[{Eo $\ast$}]{obj, }
\item[{const struct tm $\ast$}]{maxtime}
\end{DoxyParamCaption}
)}\label{group__Datetime_gaa8194e4ddd65d56b5effbf45bc2a2755}


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{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if maximum value is accepted.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_ga72b8e272beb301caeaedd05939d0889f}{elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em maxtime} & Time structure containing the maximum time value. \\
\hline
\end{DoxyParams}


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[{Eo $\ast$}]{obj, }
\item[{const struct tm $\ast$}]{mintime}
\end{DoxyParamCaption}
)}\label{group__Datetime_gac1909ad084971c0bf2a130c1887d91c6}


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{DoxyReturn}{Returns}
{\ttfamily 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}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mintime} & Time structure containing the minimum time value. \\
\hline
\end{DoxyParams}


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[{Eo $\ast$}]{obj, }
\item[{const struct tm $\ast$}]{newtime}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga132d34883ab78f1ee7cda4a264ca72ab}


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{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if current time is set successfully.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_ga132d34883ab78f1ee7cda4a264ca72ab}{elm\+\_\+datetime\+\_\+value\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em newtime} & Time structure filled with values to be set. \\
\hline
\end{DoxyParams}


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


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{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_gafd843cdc054dbe79b228902073672d10}{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set()}
\end{DoxySeeAlso}

\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\+A\+R etc. \\
\hline
\mbox{\tt out}  & {\em min} & Reference to field's minimum value \\
\hline
\mbox{\tt out}  & {\em max} & Reference to field's maximum value \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+get(), and 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}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}]{fieldtype, }
\item[{int}]{min, }
\item[{int}]{max}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga095ea1e9297f6cf2fac045cf7bfd5e27}


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{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_gafd843cdc054dbe79b228902073672d10}{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set()}
\end{DoxySeeAlso}

\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\+A\+R etc. \\
\hline
\mbox{\tt in}  & {\em min} & Reference to field's minimum value \\
\hline
\mbox{\tt in}  & {\em max} & Reference to field's maximum value \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set(), and 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}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}]{fieldtype}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga378ca134f4e5cc01f310c25391592ffa}


Get whether a field can be visible/not. 

\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_gaec9b3c5f1185cb564e4e51649bef62fa}{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set()}
\end{DoxySeeAlso}

\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\+A\+R etc \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get(), and 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}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}]{fieldtype, }
\item[{Eina\+\_\+\+Bool}]{visible}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga35c68fccd33e21b27fd30aeab59eb11f}


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{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_ga10569de31713449540817e46522c8235}{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get()}
\end{DoxySeeAlso}

\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\+A\+R etc. \\
\hline
\mbox{\tt in}  & {\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}


Referenced by elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set(), and elm\+\_\+datetime\+::field\+\_\+visible\+\_\+set().

\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}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+datetime\+\_\+format\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{fmt}
\end{DoxyParamCaption}
)}\label{group__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/\+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{DoxySeeAlso}{See also}
elm\+\_\+datetime\+\_\+format\+\_\+get()
\end{DoxySeeAlso}

\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[{elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+get (
\begin{DoxyParamCaption}
\item[{struct tm $\ast$}]{currtime}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga31046e324c3410f8da1858b053dcca08}


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{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if current time is returned successfully.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_ga132d34883ab78f1ee7cda4a264ca72ab}{elm\+\_\+datetime\+\_\+value\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in,out}  & {\em currtime} & Time structure. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+datetime\+\_\+value\+\_\+get(), and 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}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get (
\begin{DoxyParamCaption}
\item[{struct tm $\ast$}]{maxtime}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga84af914352e02df642c1a116f6738a6e}


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{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if maximum value is returned successfully.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_gaa8194e4ddd65d56b5effbf45bc2a2755}{elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in,out}  & {\em maxtime} & Time structure containing the maximum time value. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get(), and 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}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set (
\begin{DoxyParamCaption}
\item[{const struct tm $\ast$}]{maxtime}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga8d342ecdf771ccd88d0ac265f2519254}


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{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if maximum value is accepted.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_ga72b8e272beb301caeaedd05939d0889f}{elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em maxtime} & Time structure containing the maximum time value. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set(), and elm\+\_\+datetime\+::value\+\_\+max\+\_\+set().

\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}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+min\+\_\+set (
\begin{DoxyParamCaption}
\item[{const struct tm $\ast$}]{mintime}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga56aca8cc883d0095c6c50db4b3ef17c8}


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{DoxyReturn}{Returns}
{\ttfamily 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}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mintime} & Time structure containing the minimum time value. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+datetime\+\_\+value\+\_\+min\+\_\+set(), and 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}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+datetime\+\_\+value\+\_\+set (
\begin{DoxyParamCaption}
\item[{const struct tm $\ast$}]{newtime}
\end{DoxyParamCaption}
)}\label{group__Datetime_ga5de41050489a7109979d313803e4cb98}


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{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if current time is set successfully.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_ga132d34883ab78f1ee7cda4a264ca72ab}{elm\+\_\+datetime\+\_\+value\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em newtime} & Time structure filled with values to be set. \\
\hline
\end{DoxyParams}


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

\index{Datetime@{Datetime}!field\+\_\+limit\+\_\+get@{field\+\_\+limit\+\_\+get}}
\index{field\+\_\+limit\+\_\+get@{field\+\_\+limit\+\_\+get}!Datetime@{Datetime}}
\subsubsection[{field\+\_\+limit\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+datetime\+::field\+\_\+limit\+\_\+get (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}]{fieldtype\+\_\+, }
\item[{int $\ast$}]{min\+\_\+, }
\item[{int $\ast$}]{max\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Datetime_gad3f36cf8b23cb0d28b2fe8fb5e6ec0fb}


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{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_gafd843cdc054dbe79b228902073672d10}{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
 & {\em fieldtype} & Type of the field. E\+L\+M\+\_\+\+D\+A\+T\+E\+T\+I\+M\+E\+\_\+\+Y\+E\+A\+R etc. \\
\hline
\mbox{\tt out}  & {\em min} & Reference to field's minimum value \\
\hline
\mbox{\tt out}  & {\em max} & Reference to field's maximum value \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+get().

\index{Datetime@{Datetime}!field\+\_\+limit\+\_\+set@{field\+\_\+limit\+\_\+set}}
\index{field\+\_\+limit\+\_\+set@{field\+\_\+limit\+\_\+set}!Datetime@{Datetime}}
\subsubsection[{field\+\_\+limit\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+datetime\+::field\+\_\+limit\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}]{fieldtype\+\_\+, }
\item[{int}]{min\+\_\+, }
\item[{int}]{max\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Datetime_gae27be5e27c82d3a18bfabe6052043446}


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{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_gafd843cdc054dbe79b228902073672d10}{elm\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\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}


References elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+limit\+\_\+set().

\index{Datetime@{Datetime}!field\+\_\+visible\+\_\+get@{field\+\_\+visible\+\_\+get}}
\index{field\+\_\+visible\+\_\+get@{field\+\_\+visible\+\_\+get}!Datetime@{Datetime}}
\subsubsection[{field\+\_\+visible\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool elm\+\_\+datetime\+::field\+\_\+visible\+\_\+get (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}]{fieldtype\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Datetime_ga1b4bd0c0bbd8961cf16c21a574801092}


Get whether a field can be visible/not. 

\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_gaec9b3c5f1185cb564e4e51649bef62fa}{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\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}


References elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get().

\index{Datetime@{Datetime}!field\+\_\+visible\+\_\+set@{field\+\_\+visible\+\_\+set}}
\index{field\+\_\+visible\+\_\+set@{field\+\_\+visible\+\_\+set}!Datetime@{Datetime}}
\subsubsection[{field\+\_\+visible\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+datetime\+::field\+\_\+visible\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Datetime\+\_\+\+Field\+\_\+\+Type}]{fieldtype\+\_\+, }
\item[{bool}]{visible\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Datetime_ga1a5385042a5d1a58d10115a659f22cf3}


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{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_ga10569de31713449540817e46522c8235}{elm\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+get()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\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}


References elm\+\_\+obj\+\_\+datetime\+\_\+field\+\_\+visible\+\_\+set().

\index{Datetime@{Datetime}!value\+\_\+get@{value\+\_\+get}}
\index{value\+\_\+get@{value\+\_\+get}!Datetime@{Datetime}}
\subsubsection[{value\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool elm\+\_\+datetime\+::value\+\_\+get (
\begin{DoxyParamCaption}
\item[{struct tm $\ast$}]{currtime\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Datetime_ga14b446282b0cf4e67bedc9180622e311}


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{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if current time is returned successfully.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_ga132d34883ab78f1ee7cda4a264ca72ab}{elm\+\_\+datetime\+\_\+value\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in,out}  & {\em currtime} & Time structure. \\
\hline
\end{DoxyParams}


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

\index{Datetime@{Datetime}!value\+\_\+max\+\_\+get@{value\+\_\+max\+\_\+get}}
\index{value\+\_\+max\+\_\+get@{value\+\_\+max\+\_\+get}!Datetime@{Datetime}}
\subsubsection[{value\+\_\+max\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool elm\+\_\+datetime\+::value\+\_\+max\+\_\+get (
\begin{DoxyParamCaption}
\item[{struct tm $\ast$}]{maxtime\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Datetime_gaafff52c5ef1eeebb354d0f0daa1a8bcd}


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{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if maximum value is returned successfully.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_gaa8194e4ddd65d56b5effbf45bc2a2755}{elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in,out}  & {\em maxtime} & Time structure containing the maximum time value. \\
\hline
\end{DoxyParams}


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

\index{Datetime@{Datetime}!value\+\_\+max\+\_\+set@{value\+\_\+max\+\_\+set}}
\index{value\+\_\+max\+\_\+set@{value\+\_\+max\+\_\+set}!Datetime@{Datetime}}
\subsubsection[{value\+\_\+max\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}bool elm\+\_\+datetime\+::value\+\_\+max\+\_\+set (
\begin{DoxyParamCaption}
\item[{const struct tm $\ast$}]{maxtime\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Datetime_gaec5ac9257c9418eef533cbb9482b5c8d}


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{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if maximum value is accepted.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_ga72b8e272beb301caeaedd05939d0889f}{elm\+\_\+datetime\+\_\+value\+\_\+max\+\_\+get()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em maxtime} & Time structure containing the maximum time value. \\
\hline
\end{DoxyParams}


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

\index{Datetime@{Datetime}!value\+\_\+min\+\_\+set@{value\+\_\+min\+\_\+set}}
\index{value\+\_\+min\+\_\+set@{value\+\_\+min\+\_\+set}!Datetime@{Datetime}}
\subsubsection[{value\+\_\+min\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}bool elm\+\_\+datetime\+::value\+\_\+min\+\_\+set (
\begin{DoxyParamCaption}
\item[{const struct tm $\ast$}]{mintime\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Datetime_ga061f018e33bc28658596ebbf2d7eb4c1}


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{DoxyReturn}{Returns}
{\ttfamily 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}

\begin{DoxyParams}{Parameters}
{\em mintime} & Time structure containing the minimum time value. \\
\hline
\end{DoxyParams}


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

\index{Datetime@{Datetime}!value\+\_\+set@{value\+\_\+set}}
\index{value\+\_\+set@{value\+\_\+set}!Datetime@{Datetime}}
\subsubsection[{value\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}bool elm\+\_\+datetime\+::value\+\_\+set (
\begin{DoxyParamCaption}
\item[{const struct tm $\ast$}]{newtime\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Datetime_ga47b007a0fffe8b7350087867e3a2b831}


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{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if current time is set successfully.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Datetime_ga132d34883ab78f1ee7cda4a264ca72ab}{elm\+\_\+datetime\+\_\+value\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em newtime} & Time structure filled with values to be set. \\
\hline
\end{DoxyParams}


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

