/super-csv-java8/src/main/java/org/supercsv/cellprocessor/time/FmtDuration.java
validateInputNotNull( context) ;
validateInputNotNull ( value, context ) ;
public FmtDuration() { } public FmtDuration(final CellProcessor next) { super(next); } public Object execute(final Object value, final CsvContext context) { <extra_id_0> if( !(value instanceof Duration) ) { throw new SuperCsvCellProcessorException(Duration.class, value, context, this); } final Duration duration = (Duration) value; final String result = duration.toString(); return next.execute(result, context);