Class ShadowTime


  • @Implements(android.text.format.Time.class)
    public class ShadowTime
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ShadowTime()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void __constructor__()  
      protected void __constructor__​(android.text.format.Time other)  
      protected void __constructor__​(java.lang.String timezone)  
      protected boolean after​(android.text.format.Time other)  
      protected boolean before​(android.text.format.Time other)  
      protected void clear​(java.lang.String timezone)  
      protected static int compare​(android.text.format.Time a, android.text.format.Time b)  
      protected java.lang.String format​(java.lang.String format)  
      protected java.lang.String format2445()  
      protected java.lang.String format3339​(boolean allDay)  
      protected static java.lang.String getCurrentTimezone()  
      protected static int getJulianDay​(long millis, long gmtoff)  
      protected static boolean isEpoch​(android.text.format.Time time)  
      protected boolean nativeParse3339​(java.lang.String s)  
      protected boolean parse​(java.lang.String timeString)  
      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​(android.text.format.Time other)  
      protected long setJulianDay​(int julianDay)  
      protected void setToNow()  
      protected void switchTimezone​(java.lang.String timezone)  
      protected long toMillis​(boolean ignoreDst)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowTime

        public ShadowTime()
    • Method Detail

      • setToNow

        @Implementation(maxSdk=20)
        protected void setToNow()
      • __constructor__

        @Implementation(maxSdk=20)
        protected void __constructor__()
      • __constructor__

        @Implementation(maxSdk=20)
        protected void __constructor__​(java.lang.String timezone)
      • __constructor__

        @Implementation(maxSdk=20)
        protected void __constructor__​(android.text.format.Time other)
      • set

        @Implementation(maxSdk=20)
        protected void set​(android.text.format.Time other)
      • isEpoch

        @Implementation(maxSdk=20)
        protected static boolean isEpoch​(android.text.format.Time time)
      • getJulianDay

        @Implementation(maxSdk=20)
        protected static int getJulianDay​(long millis,
                                          long gmtoff)
      • setJulianDay

        @Implementation(maxSdk=20)
        protected long setJulianDay​(int julianDay)
      • set

        @Implementation(maxSdk=20)
        protected void set​(long millis)
      • toMillis

        @Implementation(maxSdk=20)
        protected long toMillis​(boolean ignoreDst)
      • set

        @Implementation(maxSdk=20)
        protected void set​(int second,
                           int minute,
                           int hour,
                           int monthDay,
                           int month,
                           int year)
      • set

        @Implementation(maxSdk=20)
        protected void set​(int monthDay,
                           int month,
                           int year)
      • clear

        @Implementation(maxSdk=20)
        protected void clear​(java.lang.String timezone)
      • getCurrentTimezone

        @Implementation(maxSdk=20)
        protected static java.lang.String getCurrentTimezone()
      • switchTimezone

        @Implementation(maxSdk=20)
        protected void switchTimezone​(java.lang.String timezone)
      • compare

        @Implementation(maxSdk=20)
        protected static int compare​(android.text.format.Time a,
                                     android.text.format.Time b)
      • before

        @Implementation(maxSdk=20)
        protected boolean before​(android.text.format.Time other)
      • after

        @Implementation(maxSdk=20)
        protected boolean after​(android.text.format.Time other)
      • parse

        @Implementation(maxSdk=20)
        protected boolean parse​(java.lang.String timeString)
      • format2445

        @Implementation(maxSdk=20)
        protected java.lang.String format2445()
      • format3339

        @Implementation(maxSdk=20)
        protected java.lang.String format3339​(boolean allDay)
      • nativeParse3339

        @Implementation(maxSdk=20)
        protected boolean nativeParse3339​(java.lang.String s)
      • format

        @Implementation(maxSdk=20)
        protected java.lang.String format​(java.lang.String format)