public class TimeDuration extends Duration
Constructor and description |
---|
TimeDuration(int hours, int minutes, int seconds, int millis) |
TimeDuration(int days, int hours, int minutes, int seconds, int millis) |
Type Params | Return Type | Name and description |
---|---|---|
|
public Date |
getAgo() |
|
public BaseDuration.From |
getFrom() |
|
public Date |
getNow() |
|
public Duration |
minus(Duration rhs) |
|
public DatumDependentDuration |
minus(DatumDependentDuration rhs) |
|
public Duration |
plus(Duration rhs) |
|
public DatumDependentDuration |
plus(DatumDependentDuration rhs) |
Methods inherited from class | Name |
---|---|
class Duration |
getAgo, getFrom, getNow, minus, minus, minus, minus, plus, plus, plus, toMilliseconds |
class BaseDuration |
compareTo, getAgo, getDays, getFrom, getHours, getMillis, getMinutes, getMonths, getSeconds, getYears, plus, toMilliseconds, toString |
Copyright © 2003-2024 The Apache Software Foundation. All rights reserved.