
efl = require('efl');

win = new efl.Efl.Ui.Win(null, "Efl JS Example", efl.Efl.Ui.Win.Type.BASIC, "hw");
win.setText("Calendar Min/Max Year Example");
win.setAutohide(true);

cal = new efl.Elm.Calendar(win);
cal.setHintWeight(1.0, 1.0);
win.setContent(cal);
win.setSize(240, 240);
// FIXME Add support to Efl.Time and Efl.Ui.Calendar
// cal.setMinMaxYear(2020,2022);
cal.setVisible(true);

win.setVisible(true);
