Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
5.0M11
-
None
-
None
-
All platforms
-
Novice
Description
Calendar.getMinimalDaysInFirstWeek(), by default, does not return the same value. RI returns 1 and Harmony returns 4. The documentation does not specify any particular value. This is not a bug. However, if there is a need for Harmony's default behavior to match that of RI, it needs to be fixed.
import java.util.GregorianCalendar;
public class CalendarTest {
public static void main(String[] args)
{ GregorianCalendar c = new GregorianCalendar(); System.out.println(c.getMinimalDaysInFirstWeek()); }}