Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6241286

(cal) API: Calendar.DAY_OF_WEEK definition is wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 21
    • 5.0
    • core-libs
    • b18
    • generic
    • generic

      Calendar.DAY_OF_WEEK is define as:

      Field number for get and set indicating the day of the week. This field takes values SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, and SATURDAY.

      However, the field takes any int values in lenient mode.
      ###@###.### 2005-03-16 02:06:16 GMT

            jlu Justin Lu
            okutsu Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: