@Test public void formattingSVNDate() { GregorianCalendar cal = new GregorianCalendar(2007, Calendar.JULY, 11, 12, 32, 45); cal.setTimeZone(TimeZone.getTimeZone("GMT")); Date date = cal.getTime(); assertThat("Windows SVN date format does not match", SVN.formatSVNDate(date, true), equalTo("\"{2007-07-11T12:32:45Z}\"")); assertThat("non-Windows SVN date format does not match", SVN.formatSVNDate(date, false), equalTo("{2007-07-11T12:32:45Z}")); }
static String formatSVNDate(Date date) { return formatSVNDate(date, Util.isWindows()); }
SVN implements SourceControl { static String formatSVNDate(Date date) { return formatSVNDate(date, Util.isWindows()); } }
SVN implements SourceControl { static String formatSVNDate(Date date) { return formatSVNDate(date, Util.isWindows()); }  }
SVN implements SourceControl { static String formatSVNDate(Date date) { return formatSVNDate(date, Util.isWindows()); }  Map<String, String> getProperties(); void setProperty(String property); void setPropertyOnDelete(String propertyOnDelete); void setConfigDir(String configDir); void setCheckExternals(boolean value); void setRepositoryLocation(String repositoryLocation); void setLocalWorkingCopy(String localWorkingCopy); void setUsername(String userName); void setPassword(String password); void validate(); List<Modification> getModifications(final Date lastBuild, final Date now); static DateFormat getOutDateFormatter(); void setUseLocalRevision(boolean useLocalRevision); }
SVN implements SourceControl { static String formatSVNDate(Date date) { return formatSVNDate(date, Util.isWindows()); }  Map<String, String> getProperties(); void setProperty(String property); void setPropertyOnDelete(String propertyOnDelete); void setConfigDir(String configDir); void setCheckExternals(boolean value); void setRepositoryLocation(String repositoryLocation); void setLocalWorkingCopy(String localWorkingCopy); void setUsername(String userName); void setPassword(String password); void validate(); List<Modification> getModifications(final Date lastBuild, final Date now); static DateFormat getOutDateFormatter(); void setUseLocalRevision(boolean useLocalRevision);  }