summaryrefslogtreecommitdiffstats
path: root/core-stubs-mini/src/java/util/Date.java
diff options
context:
space:
mode:
Diffstat (limited to 'core-stubs-mini/src/java/util/Date.java')
-rw-r--r--core-stubs-mini/src/java/util/Date.java174
1 files changed, 174 insertions, 0 deletions
diff --git a/core-stubs-mini/src/java/util/Date.java b/core-stubs-mini/src/java/util/Date.java
new file mode 100644
index 0000000..21c8375
--- /dev/null
+++ b/core-stubs-mini/src/java/util/Date.java
@@ -0,0 +1,174 @@
+/*
+* Copyright (C) 2014 The Android Open Source Project
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+package java.util;
+
+public class Date implements java.io.Serializable, java.lang.Cloneable,
+ java.lang.Comparable<java.util.Date> {
+ public Date() {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public Date(int year, int month, int day) {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public Date(int year, int month, int day, int hour, int minute) {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public Date(int year, int month, int day, int hour, int minute, int second) {
+ throw new RuntimeException("Stub!");
+ }
+
+ public Date(long milliseconds) {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public Date(java.lang.String string) {
+ throw new RuntimeException("Stub!");
+ }
+
+ public boolean after(java.util.Date date) {
+ throw new RuntimeException("Stub!");
+ }
+
+ public boolean before(java.util.Date date) {
+ throw new RuntimeException("Stub!");
+ }
+
+ public java.lang.Object clone() {
+ throw new RuntimeException("Stub!");
+ }
+
+ public int compareTo(java.util.Date date) {
+ throw new RuntimeException("Stub!");
+ }
+
+ public boolean equals(java.lang.Object object) {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public int getDate() {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public int getDay() {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public int getHours() {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public int getMinutes() {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public int getMonth() {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public int getSeconds() {
+ throw new RuntimeException("Stub!");
+ }
+
+ public long getTime() {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public int getTimezoneOffset() {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public int getYear() {
+ throw new RuntimeException("Stub!");
+ }
+
+ public int hashCode() {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public static long parse(java.lang.String string) {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public void setDate(int day) {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public void setHours(int hour) {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public void setMinutes(int minute) {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public void setMonth(int month) {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public void setSeconds(int second) {
+ throw new RuntimeException("Stub!");
+ }
+
+ public void setTime(long milliseconds) {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public void setYear(int year) {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public java.lang.String toGMTString() {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public java.lang.String toLocaleString() {
+ throw new RuntimeException("Stub!");
+ }
+
+ public java.lang.String toString() {
+ throw new RuntimeException("Stub!");
+ }
+
+ @java.lang.Deprecated()
+ public static long UTC(int year, int month, int day, int hour, int minute, int second) {
+ throw new RuntimeException("Stub!");
+ }
+}