public final class DateTime extends Object implements Comparable<DateTime>, Serializable
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DateTime other) |
static DateTime |
copyFrom(Calendar calendar) |
static DateTime |
copyFrom(Date date) |
boolean |
equals(Object obj) |
int |
hashCode() |
static DateTime |
now() |
long |
timestampMicroseconds() |
long |
timestampMillis() |
Calendar |
toCalendar() |
Date |
toDate() |
String |
toString() |
public int compareTo(DateTime other)
compareTo in interface Comparable<DateTime>public long timestampMicroseconds()
public long timestampMillis()
public Date toDate()
public Calendar toCalendar()
public static DateTime now()
Copyright © 2016 Google. All rights reserved.