public class SVNDate extends Date
Modifier and Type | Field and Description |
---|---|
static char[] |
DATE_SEPARATORS |
static SVNDate |
NULL |
Constructor and Description |
---|
SVNDate(long time,
int micro) |
Modifier and Type | Method and Description |
---|---|
boolean |
after(Date when) |
boolean |
before(Date when) |
int |
compareTo(Date anotherDate) |
boolean |
equals(Object obj) |
String |
format() |
static String |
formatConsoleDiffDate(Date date) |
static String |
formatConsoleLongDate(Date date) |
static String |
formatConsoleShortDate(Date date) |
static String |
formatCustomDate(Date date) |
static String |
formatDate(Date date) |
static String |
formatDate(Date date,
boolean formatZeroDate) |
static String |
formatHumanDate(Date date,
ISVNOptions options) |
static String |
formatRFC1123Date(Date date) |
static String |
formatShortDate(Date date) |
static SVNDate |
fromDate(Date d) |
long |
getTimeInMicros() |
int |
hashCode() |
static SVNDate |
parseDate(String str) |
static long |
parseDateAsMilliseconds(String str) |
static Date |
parseDateString(String str) |
clone, from, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toInstant, toLocaleString, toString, UTC
public static final SVNDate NULL
public static final char[] DATE_SEPARATORS
public String format()
public static String formatHumanDate(Date date, ISVNOptions options)
public static Date parseDateString(String str) throws SVNException
SVNException
public static long parseDateAsMilliseconds(String str)
public int compareTo(Date anotherDate)
compareTo
in interface Comparable<Date>
compareTo
in class Date
public long getTimeInMicros()
Copyright © 2019. All rights reserved.