[elm_datetime.h] Datetime default minimum year is changed to 1902 and documentation...
authorsumanth <sumanth.m@samsung.com>
Mon, 23 Apr 2012 06:23:58 +0000 (11:53 +0530)
committersumanth <sumanth.m@samsung.com>
Mon, 23 Apr 2012 06:23:58 +0000 (11:53 +0530)
Change-Id: Id7a763ae7da09d9357e742e6805fb909e3e58d35

config/slp/base.src
src/lib/elm_datetime.h

index 8962151..acf0d69 100644 (file)
@@ -59,7 +59,7 @@ group "Elm_Config" struct {
   value "week_start" int: 1;
   value "weekend_start" int: 6;
   value "weekend_len" int: 2;
-  value "year_min" int: 70;
+  value "year_min" int: 2;
   value "year_max" int: 137;
   group "color_palette" list {
      group "Elm_Custom_Palette" struct {
index 36785cb..20274f9 100644 (file)
@@ -380,7 +380,7 @@ EAPI void elm_datetime_format_set(Evas_Object *obj, const char *fmt);
   * @brief 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.
+  * value -30 represents 1870). Year default range is from 2 to 137.
   *
   * Month: default value range is from 0 to 11.
   *
@@ -403,7 +403,9 @@ EAPI Eina_Bool elm_datetime_value_max_get(const Evas_Object *obj, struct tm *max
  * @brief 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.
+ * value -30 represents 1870). Year default range is from 2 to 137.
+ * To set a max value beyond this range, field limit of Year should be set
+ * accordingly by using elm_datetime_field_limit_set().
  *
  * Month: default value range is from 0 to 11.
  *
@@ -426,7 +428,7 @@ EAPI Eina_Bool elm_datetime_value_max_set(Evas_Object *obj, const struct tm *max
  * @brief 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.
+ * value -30 represents 1870). Year default range is from 2 to 137.
  *
  * Month: default value range is from 0 to 11.
  *
@@ -449,7 +451,9 @@ EAPI Eina_Bool elm_datetime_value_min_get(const Evas_Object *obj, struct tm *min
  * @brief 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.
+ * value -30 represents 1870). Year default range is from 2 to 137.
+ * To set a min value beyond this range, field limit of Year should be set
+ * accordingly by using elm_datetime_field_limit_set().
  *
  * Month: default value range is from 0 to 11.
  *
@@ -512,7 +516,7 @@ EAPI void      elm_datetime_field_limit_set(Evas_Object *obj, Elm_Datetime_Field
  * @brief Get the current value 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.
+ * value -30 represents 1870). Year default range is from 2 to 137.
  *
  * Month: default value range is from 0 to 11.
  *
@@ -535,7 +539,9 @@ EAPI Eina_Bool elm_datetime_value_get(const Evas_Object *obj, struct tm *currtim
  * @brief 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.
+ * value -30 represents 1870). Year default range is from 2 to 137.
+ * To set current value beyond this range, field limit of Year should be set
+ * accordingly by using elm_datetime_field_limit_set().
  *
  * Month: default value range is from 0 to 11.
  *