private byte[] getDate() throws UnsupportedEncodingException { if (date == null) { date = expand ? SVNDate.formatHumanDate(getJavaDate(), options).getBytes("UTF-8") : date; } return date; }
String token = tokens.nextToken(); if ("LastChangedDate".equalsIgnoreCase(token) || "Date".equalsIgnoreCase(token)) { date = expand && date == null ? SVNDate.formatHumanDate(jDate, options).getBytes("UTF-8") : date; map.put("LastChangedDate", date); map.put("Date", date);
String token = tokens.nextToken(); if ("LastChangedDate".equalsIgnoreCase(token) || "Date".equalsIgnoreCase(token)) { date = expand && date == null ? SVNDate.formatHumanDate(jDate, options).getBytes("UTF-8") : date; map.put("LastChangedDate", date); map.put("Date", date);
public void run() throws SVNException { SVNProperties props = getProperties(); SVNPropertyValue value = props.getSVNPropertyValue(SVNRevisionProperty.DATE); if (value != null && value.getString() != null) { SVNDate date = SVNDate.parseDate(value.getString()); getEnvironment().getOut().print(SVNDate.formatHumanDate(date, null)); } getEnvironment().getOut().println(); }
public void run() throws SVNException { SVNProperties props = getProperties(); SVNPropertyValue value = props.getSVNPropertyValue(SVNRevisionProperty.DATE); if (value != null && value.getString() != null) { SVNDate date = SVNDate.parseDate(value.getString()); getEnvironment().getOut().print(SVNDate.formatHumanDate(date, null)); } getEnvironment().getOut().println(); }
String created = lock.getCreationDate() != null ? SVNDate.formatHumanDate(lock.getCreationDate(), options) : ""; String expires = lock.getExpirationDate() != null ? SVNDate.formatHumanDate(lock.getExpirationDate(), options) : "";
String created = lock.getCreationDate() != null ? SVNDate.formatHumanDate(lock.getCreationDate(), options) : ""; String expires = lock.getExpirationDate() != null ? SVNDate.formatHumanDate(lock.getExpirationDate(), options) : "";
String date = dateObject == null ? "(no date)" : SVNDate.formatHumanDate(dateObject, getSVNEnvironment().getClientManager().getOptions()); if (!getSVNEnvironment().isQuiet() && message == null) {
String date = dateObject == null ? "(no date)" : SVNDate.formatHumanDate(dateObject, getSVNEnvironment().getClientManager().getOptions()); if (!getSVNEnvironment().isQuiet() && message == null) {
String creationDate = SVNDate.formatHumanDate(lock.getCreationDate(), options); String expirationDate = lock.getExpirationDate() != null ? SVNDate.formatHumanDate(lock.getExpirationDate(), options) : ""; int commentLinesCount = lock.getComment() != null ? SVNCommandUtil.getLinesCount(lock.getComment()) : 0;
String creationDate = SVNDate.formatHumanDate(lock.getCreationDate(), options); String expirationDate = lock.getExpirationDate() != null ? SVNDate.formatHumanDate(lock.getExpirationDate(), options) : ""; int commentLinesCount = lock.getComment() != null ? SVNCommandUtil.getLinesCount(lock.getComment()) : 0;
SVNDate.formatHumanDate(info.getCommittedDate(), getSVNEnvironment().getClientManager().getOptions()) + "\n"); SVNDate.formatHumanDate(info.getTextTime(), getSVNEnvironment().getClientManager().getOptions()) + "\n"); SVNDate.formatHumanDate(info.getPropTime(), getSVNEnvironment().getClientManager().getOptions()) + "\n"); SVNDate.formatHumanDate(lock.getCreationDate(), getSVNEnvironment().getClientManager().getOptions()) + "\n"); SVNDate.formatHumanDate(lock.getExpirationDate(), getSVNEnvironment().getClientManager().getOptions()) + "\n");
SVNDate.formatHumanDate(info.getCommittedDate(), getSVNEnvironment().getClientManager().getOptions()) + "\n"); SVNDate.formatHumanDate(info.getTextTime(), getSVNEnvironment().getClientManager().getOptions()) + "\n"); SVNDate.formatHumanDate(info.getPropTime(), getSVNEnvironment().getClientManager().getOptions()) + "\n"); SVNDate.formatHumanDate(lock.getCreationDate(), getSVNEnvironment().getClientManager().getOptions()) + "\n"); SVNDate.formatHumanDate(lock.getExpirationDate(), getSVNEnvironment().getClientManager().getOptions()) + "\n");
String dateStr = " -"; if (date != null) { dateStr = SVNDate.formatHumanDate(date, getSVNEnvironment().getClientManager().getOptions());
String dateStr = " -"; if (date != null) { dateStr = SVNDate.formatHumanDate(date, getSVNEnvironment().getClientManager().getOptions());