Class TDate

java.lang.Object
org.teavm.classlib.java.util.TDate
All Implemented Interfaces:
TComparable<TDate>

public class TDate extends Object implements TComparable<TDate>
  • Constructor Details

    • TDate

      public TDate()
    • TDate

      public TDate(long date)
    • TDate

      @Deprecated public TDate(int year, int month, int date)
      Deprecated.
    • TDate

      @Deprecated public TDate(int year, int month, int date, int hrs, int min)
      Deprecated.
    • TDate

      @Deprecated public TDate(int year, int month, int date, int hrs, int min, int sec)
      Deprecated.
    • TDate

      public TDate(String s)
  • Method Details

    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • UTC

      @Deprecated public static long UTC(int year, int month, int date, int hrs, int min, int sec)
      Deprecated.
    • parse

      @Deprecated public static long parse(String s)
      Deprecated.
    • getYear

      @Deprecated public int getYear()
      Deprecated.
    • setYear

      @Deprecated public void setYear(int year)
      Deprecated.
    • getMonth

      @Deprecated public int getMonth()
      Deprecated.
    • setMonth

      @Deprecated public void setMonth(int month)
      Deprecated.
    • getDate

      @Deprecated public int getDate()
      Deprecated.
    • setDate

      @Deprecated public void setDate(int date)
      Deprecated.
    • getDay

      @Deprecated public int getDay()
      Deprecated.
    • getDayLowLevel

      public static int getDayLowLevel(long date)
    • getHours

      @Deprecated public int getHours()
      Deprecated.
    • setHours

      @Deprecated public void setHours(int hours)
      Deprecated.
    • getMinutes

      @Deprecated public int getMinutes()
      Deprecated.
    • setMinutes

      @Deprecated public void setMinutes(int minutes)
      Deprecated.
    • getSeconds

      @Deprecated public int getSeconds()
      Deprecated.
    • setSeconds

      @Deprecated public void setSeconds(int seconds)
      Deprecated.
    • getTime

      public long getTime()
    • setTime

      public void setTime(long time)
    • before

      public boolean before(TDate when)
    • after

      public boolean after(TDate when)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • compareTo

      public int compareTo(TDate other)
      Specified by:
      compareTo in interface TComparable<TDate>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toLocaleString

      @Deprecated public String toLocaleString()
      Deprecated.
    • toGMTString

      @Deprecated public String toGMTString()
      Deprecated.
    • getTimezoneOffset

      @Deprecated public int getTimezoneOffset()
      Deprecated.