|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgroovy.time.BaseDuration
public abstract class BaseDuration
| Nested Class Summary | |
|---|---|
static class |
BaseDuration.From
|
| Field Summary | |
|---|---|
protected int |
days
|
protected int |
hours
|
protected int |
millis
|
protected int |
minutes
|
protected int |
months
|
protected int |
seconds
|
protected int |
years
|
| Constructor Summary | |
|---|---|
protected |
BaseDuration(int days,
int hours,
int minutes,
int seconds,
int millis)
|
protected |
BaseDuration(int years,
int months,
int days,
int hours,
int minutes,
int seconds,
int millis)
|
| Method Summary | |
|---|---|
abstract Date |
getAgo()
|
int |
getDays()
|
abstract BaseDuration.From |
getFrom()
|
int |
getHours()
|
int |
getMillis()
|
int |
getMinutes()
|
int |
getMonths()
|
int |
getSeconds()
|
int |
getYears()
|
Date |
plus(Date date)
|
abstract long |
toMilliseconds()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final int years
protected final int months
protected final int days
protected final int hours
protected final int minutes
protected final int seconds
protected final int millis
| Constructor Detail |
|---|
protected BaseDuration(int years,
int months,
int days,
int hours,
int minutes,
int seconds,
int millis)
protected BaseDuration(int days,
int hours,
int minutes,
int seconds,
int millis)
| Method Detail |
|---|
public int getYears()
public int getMonths()
public int getDays()
public int getHours()
public int getMinutes()
public int getSeconds()
public int getMillis()
public Date plus(Date date)
public String toString()
toString in class Objectpublic abstract long toMilliseconds()
public abstract Date getAgo()
public abstract BaseDuration.From getFrom()
|
Copyright © 2003-2009 The Codehaus. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||