Class SecondsToTextFormatter

java.lang.Object
io.jmix.reportsui.screen.report.history.SecondsToTextFormatter
All Implemented Interfaces:
Function<Long,String>

@Component("report_SecondsToTextFormatter") public class SecondsToTextFormatter extends Object implements Function<Long,String>
Formats period in form of: {hours} h {minutes} min {seconds} sec. Zero most significant values are not displayed: e.g '13 h 45 min 38 sec', '45 min 38 sec', '38 sec'
  • Field Details

    • messages

      @Autowired protected Messages messages
  • Constructor Details

    • SecondsToTextFormatter

      public SecondsToTextFormatter()
  • Method Details