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,31 ****
* 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;
import java.time.LocalDate;
import java.time.DateTimeException;
import java.time.YearMonth;
import java.time.format.DecimalStyle;
--- 21,31 ----
* 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;
import java.time.LocalDate;
import java.time.DateTimeException;
import java.time.YearMonth;
import java.time.format.DecimalStyle;
*** 52,65 ****
*
* 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 {
private Label hijrahMonthYearLabel;
! DatePickerHijrahContent(final DatePicker datePicker) {
super(datePicker);
}
/**
* The primary chronology for display. This is overridden because
--- 52,65 ----
*
* If the current DatePicker Chronology is HijrahChronology, then sets
* the content's primary Chronology to be IsoChronology, and sets
* HijrahChronology as the secondary.
*/
! public class DatePickerHijrahContent extends DatePickerContent {
private Label hijrahMonthYearLabel;
! public DatePickerHijrahContent(final DatePicker datePicker) {
super(datePicker);
}
/**
* The primary chronology for display. This is overridden because
*** 148,158 ****
Text secondaryText = new Text();
dayCell.getProperties().put("DateCell.secondaryText", secondaryText);
}
}
! @Override void updateDayCells() {
super.updateDayCells();
Locale locale = getLocale();
HijrahChronology chrono = HijrahChronology.INSTANCE;
--- 148,158 ----
Text secondaryText = new Text();
dayCell.getProperties().put("DateCell.secondaryText", secondaryText);
}
}
! @Override public void updateDayCells() {
super.updateDayCells();
Locale locale = getLocale();
HijrahChronology chrono = HijrahChronology.INSTANCE;