public abstract class AbstractRelativeTimeUnit extends AbstractTimeUnit
| Modifier and Type | Method and Description |
|---|---|
long |
addToPosition(long position,
int duration)
Adds a length in these units to the given position.
|
int |
length(int lengthInBaseUnits) |
getAbbreviatedName, getCalendarUnits, getLength, getLongFormat, getMediumFormat, getName, getPluralName, getShortFormat, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTopublic long addToPosition(long position,
int duration)
Unitposition - a longduration - an intlongpublic int length(int lengthInBaseUnits)
Copyright © 2012–2018 Emory University. All rights reserved.