Class DataCollectionDateToDateValueConverter

java.lang.Object
overit.geocallapp.wfm.core.bl.datacollection.converter.sheet.node.DataCollectionValueConverter
overit.geocallapp.wfm.core.bl.datacollection.converter.sheet.node.DataCollectionDateToDateValueConverter

public class DataCollectionDateToDateValueConverter extends DataCollectionValueConverter
Convert the old Date node value into the new one.
Since:
13.0
  • Constructor Details

    • DataCollectionDateToDateValueConverter

      public DataCollectionDateToDateValueConverter()
  • Method Details

    • convertBody

      public void convertBody(overit.geocallapp.wfm.srd.scheda.SchedaTree oldSheet, DataCollectionNode newNode) throws Exception
      Contains the logic to convert the Old Date node value.
      Convert the date from string using Identity.current().getCulturalConventions().getSdfFormat() date format.
      Specified by:
      convertBody in class DataCollectionValueConverter
      Parameters:
      oldSheet - the old node
      newNode - the new node
      Throws:
      Exception - the exception