public class Interval extends Object
Constructor and Description |
---|
Interval() |
Interval(int years,
int months,
int days,
int hours,
int minutes,
double seconds) |
Interval(int months,
int days,
long timeMicros) |
Interval(String interval) |
Interval(String interval,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
void |
addTo(Calendar cal) |
void |
addTo(Date date) |
void |
addTo(Interval interval) |
boolean |
equals(Object obj) |
int |
getDays() |
long |
getHours() |
long |
getMinutes() |
int |
getMonths() |
int |
getRawDays() |
int |
getRawMonths() |
long |
getRawTime() |
double |
getSeconds() |
int |
getYears() |
int |
hashCode() |
void |
setDays(int days) |
void |
setHours(long hours) |
void |
setMinutes(long minutes) |
void |
setMonths(int months) |
void |
setRawDays(int days) |
void |
setRawMonths(int months) |
void |
setRawTime(long time) |
void |
setSeconds(double seconds) |
void |
setValue(int years,
int months,
int days,
int hours,
int minutes,
double seconds) |
void |
setValue(int months,
int days,
long timeMicros) |
void |
setValue(String value) |
void |
setValue(String value,
Locale locale) |
void |
setYears(int years) |
String |
toString() |
String |
toString(Locale locale) |
public Interval(int months, int days, long timeMicros)
public Interval(int years, int months, int days, int hours, int minutes, double seconds)
public Interval(String interval)
public Interval()
public void setValue(String value)
public void setValue(int months, int days, long timeMicros)
public void setValue(int years, int months, int days, int hours, int minutes, double seconds)
public long getRawTime()
public void setRawTime(long time)
public int getRawDays()
public void setRawDays(int days)
public int getRawMonths()
public void setRawMonths(int months)
public long getHours()
public void setHours(long hours)
public long getMinutes()
public void setMinutes(long minutes)
public double getSeconds()
public void setSeconds(double seconds)
public int getDays()
public void setDays(int days)
public int getMonths()
public void setMonths(int months)
public int getYears()
public void setYears(int years)
public void addTo(Calendar cal)
public void addTo(Date date)
public void addTo(Interval interval)
Copyright © 2013–2017 impossibl.com. All rights reserved.