Searched defs:Date (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/sql/
H A DDate.java21 * A class which can consume and produce dates in SQL {@code Date} format.
27 * This is unlike the familiar {@code java.util.Date} object, which also includes
32 * java.sql.Date} class are "normalized" to the time 00:00:00.000 GMT on the
36 public class Date extends java.util.Date { class in inherits:java.util.Date
41 * Constructs a {@code Date} object corresponding to the supplied year,
44 * @deprecated Use the constructor {@link #Date(long)} instead.
55 public Date(int theYear, int theMonth, int theDay) { method in class:Date
66 * milliseconds) stored in the {@code Date} object is adjusted to
70 public Date(lon method in class:Date
[all...]
/libcore/luni/src/main/java/java/util/
H A DDate.java35 * Use {@link java.text.DateFormat} to format a {@code Date} for display to a human.
36 * Use {@link Calendar} to break down a {@code Date} if you need to extract fields such
37 * as the current month or day of week, or to construct a {@code Date} from a broken-down
41 * allow you to interpret a {@code Date} in a given time zone.
45 public class Date implements Serializable, Cloneable, Comparable<Date> { class in inherits:Serializable,Cloneable,Comparable
50 private static final int CREATION_YEAR = new Date().getYear();
55 * Initializes this {@code Date} instance to the current time.
57 public Date() { method in class:Date
62 * Constructs a new {@code Date} initialize
75 public Date(int year, int month, int day) { method in class:Date
99 public Date(int year, int month, int day, int hour, int minute) { method in class:Date
126 public Date(int year, int month, int day, int hour, int minute, int second) { method in class:Date
139 public Date(long milliseconds) { method in class:Date
153 public Date(String string) { method in class:Date
[all...]

Completed in 93 milliseconds