#include <Elementary.h>
#define SECS_DAY 86400
static void
_btn_clear_cb(void *data, Evas_Object *btn, void *ev)
{
   Evas_Object *cal = data;
}
EAPI_MAIN int
elm_main(int argc, char **argv)
{
   Evas_Object *win, *bt, *bx, *cal;
   struct tm selected_time;
   time_t current_time;
   struct tm sunday = { 0, 0, 12, 7, 0, 0, 0, 0, -1, 0, NULL };
   
   
   struct tm christmas;
   christmas.tm_mday = 25;
   
   christmas.tm_mon = 11;
   evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   evas_object_show(bx);
   evas_object_size_hint_weight_set(cal, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   evas_object_size_hint_align_set(cal, EVAS_HINT_FILL, EVAS_HINT_FILL);
   evas_object_show(cal);
   
   current_time = time(NULL);
   localtime_r(¤t_time, &selected_time);
                                ELM_CALENDAR_UNIQUE);
   
   current_time = time(NULL) + 1 * SECS_DAY;
   localtime_r(¤t_time, &selected_time);
   
   
   
   evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
   elm_object_text_set(bt, "Clear marks");
   evas_object_smart_callback_add(bt, "clicked", _btn_clear_cb, cal);
   evas_object_show(bt);
   evas_object_show(win);
   return 0;
}