@Immutable public static final class Github.Time extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FORMAT_ISO
Pattern to present day in ISO-8601.
|
static TimeZone |
TIMEZONE
The time zone we're in.
|
| Constructor and Description |
|---|
Github.Time()
Ctor.
|
Github.Time(Date date)
Ctor.
|
Github.Time(long millis)
Ctor.
|
Github.Time(String text)
Ctor.
|
public static final String FORMAT_ISO
public static final TimeZone TIMEZONE
public Github.Time()
public Github.Time(@NotNull(message="text can\'t be NULL")
String text)
throws ParseException
text - ISO date/timeParseException - If failspublic Github.Time(@NotNull(message="date can\'t be NULL")
Date date)
date - Date to encapsulatepublic Github.Time(long millis)
millis - MillisecondsCopyright © 2012–2014 jcabi.com. All rights reserved.