Class DateTimeToCalendarHelper
java.lang.Object
jfxtras.internal.scene.control.skin.DateTimeToCalendarHelper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class(package private) static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CalendarcreateCalendarFromLocalDate(LocalDate localDate, TimeZone timeZone, Locale locale) static CalendarcreateCalendarFromLocalDateTime(LocalDateTime localDateTime, TimeZone timeZone, Locale locale) static CalendarcreateCalendarFromLocalTime(LocalTime localTime, TimeZone timeZone, Locale locale) static CalendarcreateCalendarFromZonedDateTime(ZonedDateTime zonedDateTime) static DatecreateDateFromLocalDate(LocalDate localDate) static DatecreateDateFromLocalDateTime(LocalDateTime localDateTime) static DatecreateDateFromLocalTime(LocalTime localTime) static LocalDatecreateLocalDateFromCalendar(Calendar calendar) static LocalDateTimecreateLocalDateTimeFromCalendar(Calendar calendar) static LocalDatecreateLocaleDateFromDate(Date date) static LocalDateTimestatic LocalTimecreateLocaleTimeFromDate(Date date) static LocalTimecreateLocalTimeFromCalendar(Calendar calendar) static ZonedDateTimecreateZonedDateTimeFromCalendar(Calendar calendar) static StringquickFormatCalendar(Calendar value) static StringquickFormatCalendar(List<Calendar> value) static voidsync(javafx.collections.ObservableList<Calendar> calendars, javafx.collections.ObservableList<Calendar> localDateTimes) static voidsyncDateTimeFormatterForDate(javafx.beans.property.ObjectProperty<DateFormat> dateFormatProperty, javafx.beans.property.ObjectProperty<DateTimeFormatter> dateTimeFormatterProperty) static voidsyncDateTimeFormatterForDateTime(javafx.beans.property.ObjectProperty<DateFormat> dateFormatProperty, javafx.beans.property.ObjectProperty<DateTimeFormatter> dateTimeFormatterProperty) static voidsyncDateTimeFormatterForTime(javafx.beans.property.ObjectProperty<DateFormat> dateFormatProperty, javafx.beans.property.ObjectProperty<DateTimeFormatter> dateTimeFormatterProperty) static voidsyncDateTimeFormattersForDate(javafx.beans.property.ListProperty<DateFormat> dateFormatsProperty, javafx.beans.property.ListProperty<DateTimeFormatter> dateTimeFormattersProperty) static voidsyncDateTimeFormattersForDateTime(javafx.beans.property.ListProperty<DateFormat> dateFormatsProperty, javafx.beans.property.ListProperty<DateTimeFormatter> dateTimeFormattersProperty) static voidsyncDateTimeFormattersForTime(javafx.beans.property.ListProperty<DateFormat> dateFormatsProperty, javafx.beans.property.ListProperty<DateTimeFormatter> dateTimeFormattersProperty) static voidsyncLocalDate(javafx.beans.property.ObjectProperty<Calendar> calendarProperty, javafx.beans.property.ObjectProperty<LocalDate> localDateProperty, javafx.beans.property.ObjectProperty<Locale> localeProperty) static voidsyncLocalDates(javafx.collections.ObservableList<Calendar> calendars, javafx.collections.ObservableList<LocalDate> localDates, javafx.beans.property.ObjectProperty<Locale> localeProperty) static voidsyncLocalDateTime(javafx.beans.property.ObjectProperty<Calendar> calendarProperty, javafx.beans.property.ObjectProperty<LocalDateTime> localDateTimeProperty, javafx.beans.property.ObjectProperty<Locale> localeProperty) static voidsyncLocalDateTimes(javafx.collections.ObservableList<Calendar> calendars, javafx.collections.ObservableList<LocalDateTime> localDateTimes, javafx.beans.property.ObjectProperty<Locale> localeProperty) static voidsyncLocalTime(javafx.beans.property.ObjectProperty<Calendar> calendarProperty, javafx.beans.property.ObjectProperty<LocalTime> localTimeProperty, javafx.beans.property.ObjectProperty<Locale> localeProperty) static ZoneId
-
Constructor Details
-
DateTimeToCalendarHelper
public DateTimeToCalendarHelper()
-
-
Method Details
-
createCalendarFromLocalDate
-
createCalendarFromZonedDateTime
- Parameters:
zonedDateTime-- Returns:
-
createCalendarFromLocalDateTime
public static Calendar createCalendarFromLocalDateTime(LocalDateTime localDateTime, TimeZone timeZone, Locale locale) - Parameters:
localDateTime-- Returns:
-
createCalendarFromLocalTime
-
createLocalDateFromCalendar
-
createZonedDateTimeFromCalendar
- Parameters:
calendar-- Returns:
-
createLocalDateTimeFromCalendar
- Parameters:
calendar-- Returns:
-
createLocalTimeFromCalendar
-
createDateFromLocalDate
-
createLocaleDateFromDate
-
createDateFromLocalDateTime
-
createLocaleDateTimeFromDate
-
createLocaleTimeFromDate
-
createDateFromLocalTime
-
syncLocalDate
-
syncLocalDateTime
public static void syncLocalDateTime(javafx.beans.property.ObjectProperty<Calendar> calendarProperty, javafx.beans.property.ObjectProperty<LocalDateTime> localDateTimeProperty, javafx.beans.property.ObjectProperty<Locale> localeProperty) - Parameters:
calendarProperty-localDateTimeProperty-localeProperty-
-
syncLocalTime
-
syncLocalDates
-
syncLocalDateTimes
public static void syncLocalDateTimes(javafx.collections.ObservableList<Calendar> calendars, javafx.collections.ObservableList<LocalDateTime> localDateTimes, javafx.beans.property.ObjectProperty<Locale> localeProperty) - Parameters:
calendars-localDateTimes-localeProperty-
-
syncDateTimeFormatterForDate
public static void syncDateTimeFormatterForDate(javafx.beans.property.ObjectProperty<DateFormat> dateFormatProperty, javafx.beans.property.ObjectProperty<DateTimeFormatter> dateTimeFormatterProperty) -
syncDateTimeFormattersForDate
public static void syncDateTimeFormattersForDate(javafx.beans.property.ListProperty<DateFormat> dateFormatsProperty, javafx.beans.property.ListProperty<DateTimeFormatter> dateTimeFormattersProperty) -
syncDateTimeFormatterForDateTime
public static void syncDateTimeFormatterForDateTime(javafx.beans.property.ObjectProperty<DateFormat> dateFormatProperty, javafx.beans.property.ObjectProperty<DateTimeFormatter> dateTimeFormatterProperty) -
syncDateTimeFormattersForDateTime
public static void syncDateTimeFormattersForDateTime(javafx.beans.property.ListProperty<DateFormat> dateFormatsProperty, javafx.beans.property.ListProperty<DateTimeFormatter> dateTimeFormattersProperty) -
syncDateTimeFormatterForTime
public static void syncDateTimeFormatterForTime(javafx.beans.property.ObjectProperty<DateFormat> dateFormatProperty, javafx.beans.property.ObjectProperty<DateTimeFormatter> dateTimeFormatterProperty) -
syncDateTimeFormattersForTime
public static void syncDateTimeFormattersForTime(javafx.beans.property.ListProperty<DateFormat> dateFormatsProperty, javafx.beans.property.ListProperty<DateTimeFormatter> dateTimeFormattersProperty) -
sync
-
quickFormatCalendar
-
quickFormatCalendar
-
toZoneId
-