mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
6241286: (cal) API: Calendar.DAY_OF_WEEK definition is wrong
Reviewed-by: naoto
This commit is contained in:
parent
42965d390c
commit
2aeb0e5267
1 changed files with 5 additions and 3 deletions
|
@ -459,9 +459,11 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
|
|||
|
||||
/**
|
||||
* Field number for {@code get} and {@code set} indicating the day
|
||||
* of the week. This field takes values {@code SUNDAY},
|
||||
* {@code MONDAY}, {@code TUESDAY}, {@code WEDNESDAY},
|
||||
* {@code THURSDAY}, {@code FRIDAY}, and {@code SATURDAY}.
|
||||
* of the week. If the calendar is non-lenient, this field takes values
|
||||
* {@code SUNDAY}, {@code MONDAY}, {@code TUESDAY}, {@code WEDNESDAY},
|
||||
* {@code THURSDAY}, {@code FRIDAY}, and {@code SATURDAY}. Otherwise, any
|
||||
* int values are accepted and normalized to one of the previously
|
||||
* mentioned values.
|
||||
*
|
||||
* @see #SUNDAY
|
||||
* @see #MONDAY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue