Class EventUtils

java.lang.Object
org.springframework.modulith.events.config.EventUtils

class EventUtils extends Object
General utilities.
Since:
2.0
Author:
Oliver Drotbohm
  • Constructor Details

    • EventUtils

      EventUtils()
  • Method Details

    • prettyPrint

      static String prettyPrint(Duration duration)
      Creates a human-readable String from a Duration.
      Parameters:
      duration - must not be null.
      Returns:
      will never be null.