Class EpochMilliToInstantConverter

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

    @Named
    public class EpochMilliToInstantConverter
    extends Object
    implements javax.faces.convert.Converter<String>
    <h:outputText value="#{activityView.selectedRecord.createdDate}" converter="#{epochMilliToInstantConverter}" />
    Author:
    aripd.com
    • Constructor Detail

      • EpochMilliToInstantConverter

        public EpochMilliToInstantConverter()
    • Method Detail

      • getAsObject

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

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