Skip to content

Release of 2.1.0

Compare
Choose a tag to compare
@dankwart-de dankwart-de released this 11 Jan 13:18
c4d23a9
  • Add convertMapToTwoColumnsFormattedTable() to RoddyIOHelperMethods. This was taken from one of the Roddy classes and can be used generically. Also changed its name to convertMapToTwoColumnsPrettyTable()
  • Add the DateTimeHelper class, which tries to reduces the necessity to fiddle around with the Joda-Time and the Java time classes:
    • By default, the class will parse ISO_DATE_TIME strings but can be constructed with different patterns and time zones.
    • parseToZonedDateTime() will use the pattern in the constructor or the default pattern to parse a time string.
    • differenceBetween() will calculate the duration between two LocalDateTimes
    • durationExceeds() will tell you, if a Duration is higher than a Duration called maxAge. Alternatively, you can also call the method with values for days, hours and so on.
  • Change the gradle config to show detailed error messages and exceptions in the Travis logs.