Class DateToXmlGregorianCalendar

All Implemented Interfaces:
Method

public class DateToXmlGregorianCalendar extends AbstractToXmlGregorianCalendar
A built-in method for converting from Date to XMLGregorianCalendar.
Author:
Sjaak Derksen
  • Constructor Details

    • DateToXmlGregorianCalendar

      public DateToXmlGregorianCalendar(TypeFactory typeFactory)
  • Method Details

    • getImportTypes

      public Set<Type> getImportTypes()
      Description copied from class: BuiltInMethod
      Returns the types used by this method for which import statements need to be generated. Defaults to the empty set. To be overridden by implementations in case they make use of additional types (note that the parameter and return type don't need to be added).
      Overrides:
      getImportTypes in class AbstractToXmlGregorianCalendar
      Returns:
      the types used by this method for which import statements need to be generated
    • getParameter

      public Parameter getParameter()
      Description copied from class: BuiltInMethod
      There's currently only one parameter foreseen instead of a list of parameter
      Specified by:
      getParameter in class BuiltInMethod
      Returns:
      the parameter