Package org.robolectric.shadows
Class ShadowTime
java.lang.Object
org.robolectric.shadows.ShadowTime
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
__constructor__
(Time other) protected void
__constructor__
(String timezone) protected boolean
protected boolean
protected void
protected void
protected static int
protected String
protected String
protected String
format3339
(boolean allDay) protected static int
protected static String
protected static int
getJulianDay
(long millis, long gmtoff) protected static boolean
protected boolean
protected boolean
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
protected long
setJulianDay
(int julianDay) protected void
setToNow()
protected void
switchTimezone
(String timezone) protected long
toMillis
(boolean ignoreDst)
-
Constructor Details
-
ShadowTime
public ShadowTime()
-
-
Method Details
-
setToNow
-
__constructor__
-
__constructor__
-
__constructor__
-
set
-
isEpoch
-
getJulianDay
-
setJulianDay
-
set
-
toMillis
-
set
@Implementation(maxSdk=20) protected void set(int second, int minute, int hour, int monthDay, int month, int year) -
set
-
clear
-
getCurrentTimezone
-
switchTimezone
-
compare
-
before
-
after
-
parse
-
format2445
-
format3339
-
nativeParse3339
-
getChar
-
checkChar
-
format
-