Package io.goobi.viewer.faces.converters
Class LocalDateTimeConverter
java.lang.Object
io.goobi.viewer.faces.converters.LocalDateTimeConverter
- All Implemented Interfaces:
javax.faces.convert.Converter<LocalDateTime>
public class LocalDateTimeConverter
extends Object
implements javax.faces.convert.Converter<LocalDateTime>
-
Field Summary
Fields inherited from interface javax.faces.convert.Converter
DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAsObject
(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String submittedValue) getAsString
(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, LocalDateTime ldt)
-
Constructor Details
-
LocalDateTimeConverter
public LocalDateTimeConverter()
-
-
Method Details
-
getAsObject
public LocalDateTime getAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String submittedValue) - Specified by:
getAsObject
in interfacejavax.faces.convert.Converter<LocalDateTime>
-
getAsString
public String getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, LocalDateTime ldt) - Specified by:
getAsString
in interfacejavax.faces.convert.Converter<LocalDateTime>
-