public class Time extends Object implements Serializable
| Constructor and Description |
|---|
Time() |
Time(String timeZoneId,
Date epochDate) |
| Modifier and Type | Method and Description |
|---|---|
static Time |
fromCalendar(Calendar calendar) |
static Time |
fromDateTime(org.joda.time.DateTime dateTime) |
Date |
getEpochDate() |
String |
getTimeZoneId() |
void |
setEpochDate(Date epochDate) |
void |
setTimeZoneId(String timeZoneId) |
Calendar |
toCalendar() |
org.joda.time.DateTime |
toDateTime() |
public static Time fromDateTime(org.joda.time.DateTime dateTime)
public String getTimeZoneId()
public void setTimeZoneId(String timeZoneId)
public Date getEpochDate()
public void setEpochDate(Date epochDate)
public Calendar toCalendar()
public org.joda.time.DateTime toDateTime()
Copyright © 2017. All rights reserved.