Class ConfigDateSerializer

java.lang.Object
io.jmix.charts.widget.amcharts.serialization.ConfigDateSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<Date>

public class ConfigDateSerializer extends Object implements com.google.gson.JsonSerializer<Date>
  • Field Details

    • DATE_FORMATTER

      protected static final org.apache.commons.lang3.time.FastDateFormat DATE_FORMATTER
  • Constructor Details

    • ConfigDateSerializer

      public ConfigDateSerializer()
  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(Date src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<Date>