mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
6241286: (cal) API: Calendar.DAY_OF_WEEK definition is wrong
Reviewed-by: naoto
(cherry picked from commit 2aeb0e5267)
This commit is contained in:
committed by
Vitaly Provodin
parent
218c8984db
commit
8c22b06294
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user