Package org.jtester.hamcrest.matcher.calendar

Examples of org.jtester.hamcrest.matcher.calendar.DateFormatMatcher


    DateParterMatcher matcher = new DateParterMatcher(Integer.valueOf(value), type);
    return this.assertThat(matcher);
  }

  public IDateAssert<T> eqByFormat(String expected, String format) {
    DateFormatMatcher matcher = new DateFormatMatcher(format, expected);
    return this.assertThat(matcher);
  }
View Full Code Here


    return this.assertThat(matcher);
  }

  public IDateAssert<T> eqByFormat(String expected) {
    SimpleDateFormat df = DateUtil.getDateFormat(expected);
    DateFormatMatcher matcher = new DateFormatMatcher(df, expected);
    return this.assertThat(matcher);
  }
View Full Code Here

TOP

Related Classes of org.jtester.hamcrest.matcher.calendar.DateFormatMatcher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.