Skip to content

amorfis/fest-joda-time-assert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fest assertions for Joda Time library

Provides assertions like FEST Assert for org.joda.time.DateTime and org.joda.time.LocalDateTime classes. Examples

JodaTimeAssertions.assertThat(dateTime).isBefore(laterDateTime);

Comparison methods are isBefore, isBeforeOrEqual, isAfter, isAfterOrEqual.

You can compare DateTime to another DateTime, or LocalDateTime to LocalDateTime, but not DateTime to LocalDateTime, as it doesn't make sense because one is timezone dependent and the other one is not.

About

Fest assertions for Joda Time library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages