Class ShouldHavePeriod

java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldHavePeriod
All Implemented Interfaces:
ErrorMessageFactory

public class ShouldHavePeriod extends BasicErrorMessageFactory
Author:
Hayden Meloche
  • Method Details

    • shouldHaveYears

      public static ShouldHavePeriod shouldHaveYears(Period actual, int actualYear, int expectedYear)
    • shouldHaveMonths

      public static ShouldHavePeriod shouldHaveMonths(Period actual, int actualMonths, int expectedMonths)
    • shouldHaveDays

      public static ShouldHavePeriod shouldHaveDays(Period actual, int actualDays, int expectedDays)