@Implements(value=android.text.format.Time.class) public class ShadowTime extends Object
Constructor and Description |
---|
ShadowTime() |
Modifier and Type | Method and Description |
---|---|
protected void |
__constructor__() |
protected void |
__constructor__(String timezone) |
protected void |
__constructor__(Time other) |
protected boolean |
after(Time other) |
protected boolean |
before(Time other) |
protected void |
clear(String timezone) |
protected static int |
compare(Time a,
Time b) |
protected String |
format(String format) |
protected String |
format2445() |
protected String |
format3339(boolean allDay) |
protected static String |
getCurrentTimezone() |
protected static int |
getJulianDay(long millis,
long gmtoff) |
protected static boolean |
isEpoch(Time time) |
protected boolean |
parse(String timeString) |
protected boolean |
parse3339(String rfc3339String) |
protected void |
set(int monthDay,
int month,
int year) |
protected void |
set(int second,
int minute,
int hour,
int monthDay,
int month,
int year) |
protected void |
set(long millis) |
protected void |
set(Time other) |
protected long |
setJulianDay(int julianDay) |
protected void |
setToNow() |
protected void |
switchTimezone(String timezone) |
protected long |
toMillis(boolean ignoreDst) |
@Implementation(maxSdk=20) protected void setToNow()
@Implementation(maxSdk=20) protected void __constructor__()
@Implementation(maxSdk=20) protected void __constructor__(String timezone)
@Implementation(maxSdk=20) protected void __constructor__(Time other)
@Implementation(maxSdk=20) protected void set(Time other)
@Implementation(maxSdk=20) protected static boolean isEpoch(Time time)
@Implementation(maxSdk=20) protected static int getJulianDay(long millis, long gmtoff)
@Implementation(maxSdk=20) protected long setJulianDay(int julianDay)
@Implementation(maxSdk=20) protected void set(long millis)
@Implementation(maxSdk=20) protected long toMillis(boolean ignoreDst)
@Implementation(maxSdk=20) protected void set(int second, int minute, int hour, int monthDay, int month, int year)
@Implementation(maxSdk=20) protected void set(int monthDay, int month, int year)
@Implementation(maxSdk=20) protected void clear(String timezone)
@Implementation(maxSdk=20) protected static String getCurrentTimezone()
@Implementation(maxSdk=20) protected void switchTimezone(String timezone)
@Implementation(maxSdk=20) protected static int compare(Time a, Time b)
@Implementation(maxSdk=20) protected boolean before(Time other)
@Implementation(maxSdk=20) protected boolean after(Time other)
@Implementation(maxSdk=20) protected boolean parse(String timeString)
@Implementation(maxSdk=20) protected String format2445()
@Implementation(maxSdk=20) protected String format3339(boolean allDay)
@Implementation(maxSdk=20) protected boolean parse3339(String rfc3339String)
@Implementation(maxSdk=20) protected String format(String format)