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 Calendar
createCalendarFromLocalDate
(LocalDate localDate, TimeZone timeZone, Locale locale) static Calendar
createCalendarFromLocalDateTime
(LocalDateTime localDateTime, TimeZone timeZone, Locale locale) static Calendar
createCalendarFromLocalTime
(LocalTime localTime, TimeZone timeZone, Locale locale) static Calendar
createCalendarFromZonedDateTime
(ZonedDateTime zonedDateTime) static Date
createDateFromLocalDate
(LocalDate localDate) static Date
createDateFromLocalDateTime
(LocalDateTime localDateTime) static Date
createDateFromLocalTime
(LocalTime localTime) static LocalDate
createLocalDateFromCalendar
(Calendar calendar) static LocalDateTime
createLocalDateTimeFromCalendar
(Calendar calendar) static LocalDate
createLocaleDateFromDate
(Date date) static LocalDateTime
static LocalTime
createLocaleTimeFromDate
(Date date) static LocalTime
createLocalTimeFromCalendar
(Calendar calendar) static ZonedDateTime
createZonedDateTimeFromCalendar
(Calendar calendar) static String
quickFormatCalendar
(Calendar value) static String
quickFormatCalendar
(List<Calendar> value) static void
sync
(javafx.collections.ObservableList<Calendar> calendars, javafx.collections.ObservableList<Calendar> localDateTimes) static void
syncDateTimeFormatterForDate
(javafx.beans.property.ObjectProperty<DateFormat> dateFormatProperty, javafx.beans.property.ObjectProperty<DateTimeFormatter> dateTimeFormatterProperty) static void
syncDateTimeFormatterForDateTime
(javafx.beans.property.ObjectProperty<DateFormat> dateFormatProperty, javafx.beans.property.ObjectProperty<DateTimeFormatter> dateTimeFormatterProperty) static void
syncDateTimeFormatterForTime
(javafx.beans.property.ObjectProperty<DateFormat> dateFormatProperty, javafx.beans.property.ObjectProperty<DateTimeFormatter> dateTimeFormatterProperty) static void
syncDateTimeFormattersForDate
(javafx.beans.property.ListProperty<DateFormat> dateFormatsProperty, javafx.beans.property.ListProperty<DateTimeFormatter> dateTimeFormattersProperty) static void
syncDateTimeFormattersForDateTime
(javafx.beans.property.ListProperty<DateFormat> dateFormatsProperty, javafx.beans.property.ListProperty<DateTimeFormatter> dateTimeFormattersProperty) static void
syncDateTimeFormattersForTime
(javafx.beans.property.ListProperty<DateFormat> dateFormatsProperty, javafx.beans.property.ListProperty<DateTimeFormatter> dateTimeFormattersProperty) static void
syncLocalDate
(javafx.beans.property.ObjectProperty<Calendar> calendarProperty, javafx.beans.property.ObjectProperty<LocalDate> localDateProperty, javafx.beans.property.ObjectProperty<Locale> localeProperty) static void
syncLocalDates
(javafx.collections.ObservableList<Calendar> calendars, javafx.collections.ObservableList<LocalDate> localDates, javafx.beans.property.ObjectProperty<Locale> localeProperty) static void
syncLocalDateTime
(javafx.beans.property.ObjectProperty<Calendar> calendarProperty, javafx.beans.property.ObjectProperty<LocalDateTime> localDateTimeProperty, javafx.beans.property.ObjectProperty<Locale> localeProperty) static void
syncLocalDateTimes
(javafx.collections.ObservableList<Calendar> calendars, javafx.collections.ObservableList<LocalDateTime> localDateTimes, javafx.beans.property.ObjectProperty<Locale> localeProperty) static void
syncLocalTime
(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
public static Calendar createCalendarFromLocalDate(LocalDate localDate, TimeZone timeZone, Locale locale) - Parameters:
localDate
-- Returns:
-
createCalendarFromZonedDateTime
- Parameters:
zonedDateTime
-- Returns:
-
createCalendarFromLocalDateTime
public static Calendar createCalendarFromLocalDateTime(LocalDateTime localDateTime, TimeZone timeZone, Locale locale) - Parameters:
localDateTime
-- Returns:
-
createCalendarFromLocalTime
public static Calendar createCalendarFromLocalTime(LocalTime localTime, TimeZone timeZone, Locale locale) - Parameters:
localTime
-- Returns:
-
createLocalDateFromCalendar
- Parameters:
calendar
-- Returns:
-
createZonedDateTimeFromCalendar
- Parameters:
calendar
-- Returns:
-
createLocalDateTimeFromCalendar
- Parameters:
calendar
-- Returns:
-
createLocalTimeFromCalendar
- Parameters:
calendar
-- Returns:
-
createDateFromLocalDate
-
createLocaleDateFromDate
-
createDateFromLocalDateTime
-
createLocaleDateTimeFromDate
-
createLocaleTimeFromDate
-
createDateFromLocalTime
-
syncLocalDate
public static void syncLocalDate(javafx.beans.property.ObjectProperty<Calendar> calendarProperty, javafx.beans.property.ObjectProperty<LocalDate> localDateProperty, javafx.beans.property.ObjectProperty<Locale> localeProperty) - Parameters:
calendarProperty
-localDateProperty
-localeProperty
-
-
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
public static void syncLocalTime(javafx.beans.property.ObjectProperty<Calendar> calendarProperty, javafx.beans.property.ObjectProperty<LocalTime> localTimeProperty, javafx.beans.property.ObjectProperty<Locale> localeProperty) - Parameters:
calendarProperty
-localTimeProperty
-localeProperty
-
-
syncLocalDates
public static void syncLocalDates(javafx.collections.ObservableList<Calendar> calendars, javafx.collections.ObservableList<LocalDate> localDates, javafx.beans.property.ObjectProperty<Locale> localeProperty) - Parameters:
calendars
-localDates
-localeProperty
-
-
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
-