summaryrefslogtreecommitdiff
path: root/src/lib/elm_datetime_common.h
blob: 9244b105c4671736697df8f18c59f86d4929605a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
 * @addtogroup Datetime
 *
 * @{
 */

/**
 * Identifies a Datetime field, The widget supports 6 fields : Year, month,
 * Date, Hour, Minute, AM/PM
 */
typedef enum
{
   ELM_DATETIME_YEAR    = 0, /**< Indicates Year field */
   ELM_DATETIME_MONTH   = 1, /**< Indicates Month field */
   ELM_DATETIME_DATE    = 2, /**< Indicates Date field */
   ELM_DATETIME_HOUR    = 3, /**< Indicates Hour field */
   ELM_DATETIME_MINUTE  = 4, /**< Indicates Minute field */
   ELM_DATETIME_AMPM    = 5, /**< Indicates AM/PM field */
} Elm_Datetime_Field_Type;

/* temporary until better solution is found: is here because of eolian */
typedef struct tm Elm_Datetime_Time;

/**
 * @}
 */