@Test public void testExtractTimeZone() throws Exception { String[] extracted = FilterUtil.extractTimeZone("myFilter" + FilterUtil.TIMEZONE_SEPARATOR + "+0234"); Assert.assertEquals("Extracted values are not two!", 2, extracted.length); Assert.assertEquals("First value is not the original filter!", "myFilter", extracted[0]); Assert.assertEquals("Second value is not the original timezone!", "+0234", extracted[1]); }
public static String[] extractTimeZone(String filter) { return filter.split(TIMEZONE_SEPARATOR); }
FilterUtil { public static String[] extractTimeZone(String filter) { return filter.split(TIMEZONE_SEPARATOR); } }
FilterUtil { public static String[] extractTimeZone(String filter) { return filter.split(TIMEZONE_SEPARATOR); }  }
FilterUtil { public static String[] extractTimeZone(String filter) { return filter.split(TIMEZONE_SEPARATOR); }  static boolean extractTimeZoneAndTestDate(Date date, String filter); static OffsetDateTime convertDateToOffsetDateTime(Date date); static String[] extractTimeZone(String filter); static OffsetDateTime parseUIDate(String dateString, String timeZoneOffset); }
FilterUtil { public static String[] extractTimeZone(String filter) { return filter.split(TIMEZONE_SEPARATOR); }  static boolean extractTimeZoneAndTestDate(Date date, String filter); static OffsetDateTime convertDateToOffsetDateTime(Date date); static String[] extractTimeZone(String filter); static OffsetDateTime parseUIDate(String dateString, String timeZoneOffset);  }