modules/controls/src/main/java/com/sun/javafx/scene/control/DatePickerHijrahContent.java

Print this page
rev 9240 : 8076423: JEP 253: Prepare JavaFX UI Controls & CSS APIs for Modularization

@@ -21,11 +21,11 @@
  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
-package com.sun.javafx.scene.control.skin;
+package com.sun.javafx.scene.control;
 
 import java.time.LocalDate;
 import java.time.DateTimeException;
 import java.time.YearMonth;
 import java.time.format.DecimalStyle;

@@ -52,14 +52,14 @@
  *
  * If the current DatePicker Chronology is HijrahChronology, then sets
  * the content's primary Chronology to be IsoChronology, and sets
  * HijrahChronology as the secondary.
  */
-class DatePickerHijrahContent extends DatePickerContent {
+public class DatePickerHijrahContent extends DatePickerContent {
     private Label hijrahMonthYearLabel;
 
-    DatePickerHijrahContent(final DatePicker datePicker) {
+    public DatePickerHijrahContent(final DatePicker datePicker) {
         super(datePicker);
     }
 
     /**
      * The primary chronology for display. This is overridden because

@@ -148,11 +148,11 @@
             Text secondaryText = new Text();
             dayCell.getProperties().put("DateCell.secondaryText", secondaryText);
         }
     }
 
-    @Override void updateDayCells() {
+    @Override public void updateDayCells() {
         super.updateDayCells();
 
         Locale locale = getLocale();
         HijrahChronology chrono = HijrahChronology.INSTANCE;