Interface Calendar.SelectedDateBindMapping

  • Enclosing class:
    Calendar

    public static interface Calendar.SelectedDateBindMapping
    Translates between calendar date and context data during data binding.
    • Method Detail

      • toDate

        CalendarDate toDate​(java.lang.Object value)
        Converts a context value to a calendar date.
        Parameters:
        value - The value retrieved from the bound object.
        Returns:
        The value converted to a calendar date.
      • valueOf

        java.lang.Object valueOf​(CalendarDate calendarDate)
        Converts a calendar date to a context value.
        Parameters:
        calendarDate - The current calendar date value from the component.
        Returns:
        The converted object value suitable for persistence in the bound object.