Class ReadableMatchers.DateNanosMatcher

java.lang.Object
org.hamcrest.BaseMatcher<Long>
org.hamcrest.TypeSafeMatcher<Long>
org.elasticsearch.test.ReadableMatchers.DateNanosMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<Long>, org.hamcrest.SelfDescribing
Enclosing class:
ReadableMatchers

public static class ReadableMatchers.DateNanosMatcher extends org.hamcrest.TypeSafeMatcher<Long>
  • Constructor Details

    • DateNanosMatcher

      public DateNanosMatcher(String date)
  • Method Details

    • matchesSafely

      public boolean matchesSafely(Long item)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<Long>
    • describeMismatchSafely

      public void describeMismatchSafely(Long item, org.hamcrest.Description description)
      Overrides:
      describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<Long>
    • describeTo

      public void describeTo(org.hamcrest.Description description)