Class InstantTimeConverter

  • All Implemented Interfaces:
    javax.faces.convert.Converter<Instant>

    @Named
    @ApplicationScoped
    public class InstantTimeConverter
    extends Object
    implements javax.faces.convert.Converter<Instant>
    • Constructor Detail

      • InstantTimeConverter

        public InstantTimeConverter()
    • Method Detail

      • getAsObject

        public Instant getAsObject​(javax.faces.context.FacesContext context,
                                   javax.faces.component.UIComponent component,
                                   String value)
        Specified by:
        getAsObject in interface javax.faces.convert.Converter<Instant>
      • getAsString

        public String getAsString​(javax.faces.context.FacesContext context,
                                  javax.faces.component.UIComponent component,
                                  Instant value)
        Specified by:
        getAsString in interface javax.faces.convert.Converter<Instant>