Index

A C D E F G H I J L M O P Q R S T U W Y 
All Classes and Interfaces|All Packages|Constant Field Values

A

approximateDuration(Instant) - Method in class org.ocpsoft.prettytime.PrettyTime
Calculate the approximate Duration between the reference Instant and given Instant.
approximateDuration(LocalDate) - Method in class org.ocpsoft.prettytime.PrettyTime
Calculate the approximate Duration between the reference Instant and given LocalDateTime.
approximateDuration(LocalDate, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Calculate the approximate Duration between the reference Instant and given LocalDate.
approximateDuration(LocalDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Calculate the approximate Duration between the reference Instant and given LocalDateTime.
approximateDuration(LocalDateTime, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Calculate the approximate Duration between the reference Instant and given LocalDateTime.
approximateDuration(Date) - Method in class org.ocpsoft.prettytime.PrettyTime
Calculate the approximate Duration between the reference Date and given Date.

C

calculatePreciseDuration(Instant) - Method in class org.ocpsoft.prettytime.PrettyTime
Calculate to the precision of the smallest provided TimeUnit, the exact Duration represented by the difference between the reference Instant and the given Instant.
calculatePreciseDuration(LocalDate) - Method in class org.ocpsoft.prettytime.PrettyTime
Calculate to the precision of the smallest provided TimeUnit, the exact Duration represented by the difference between the reference Instant and the given LocalDate using the system default ZoneId.
calculatePreciseDuration(LocalDate, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Calculate to the precision of the smallest provided TimeUnit, the exact Duration represented by the difference between the reference Instant and the given LocalDate using the given ZoneId.
calculatePreciseDuration(LocalDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Calculate to the precision of the smallest provided TimeUnit, the exact Duration represented by the difference between the reference Instant and the given LocalDateTime using the system default ZoneId.
calculatePreciseDuration(LocalDateTime, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Calculate to the precision of the smallest provided TimeUnit, the exact Duration represented by the difference between the reference Instant and the given LocalDateTime using the given ZoneId.
calculatePreciseDuration(Date) - Method in class org.ocpsoft.prettytime.PrettyTime
Calculate to the precision of the smallest provided TimeUnit, the exact Duration represented by the difference between the reference Instant and the given Date.
Century - Class in org.ocpsoft.prettytime.units
 
Century() - Constructor for class org.ocpsoft.prettytime.units.Century
 
clearUnits() - Method in class org.ocpsoft.prettytime.PrettyTime
Remove all registered TimeUnit instances.

D

Day - Class in org.ocpsoft.prettytime.units
 
Day() - Constructor for class org.ocpsoft.prettytime.units.Day
 
Decade - Class in org.ocpsoft.prettytime.units
 
Decade() - Constructor for class org.ocpsoft.prettytime.units.Decade
 
decorate(Duration, String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
decorate(Duration, String) - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeFormat
 
decorate(Duration, String) - Method in interface org.ocpsoft.prettytime.TimeFormat
Decorate with past or future prefix/suffix (with rounding)
decorateUnrounded(Duration, String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
decorateUnrounded(Duration, String) - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeFormat
 
decorateUnrounded(Duration, String) - Method in interface org.ocpsoft.prettytime.TimeFormat
Decorate with past or future prefix/suffix (without rounding)
Duration - Interface in org.ocpsoft.prettytime
Represents a quantity of any given TimeUnit
DurationImpl - Class in org.ocpsoft.prettytime.impl
 
DurationImpl() - Constructor for class org.ocpsoft.prettytime.impl.DurationImpl
 

E

equals(Object) - Method in class org.ocpsoft.prettytime.impl.DurationImpl
 
equals(Object) - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeUnit
 

F

format(Instant) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Instant object.
format(LocalDate) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDate object using the system default ZoneId.
format(LocalDate, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDate object using the given ZoneId.
format(LocalDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDateTime object using the system default ZoneId.
format(LocalDateTime, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDateTime object using the given ZoneId.
format(OffsetDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given OffsetDateTime object.
format(ZonedDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given ZonedDateTime object.
format(Calendar) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Calendar object.
format(Date) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Date object.
format(List<Duration>) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Duration objects, using the TimeFormat specified by the TimeUnit contained within.
format(Duration) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
format(Duration) - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeFormat
 
format(Duration) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Duration object, using the TimeFormat specified by the TimeUnit contained within.
format(Duration) - Method in interface org.ocpsoft.prettytime.TimeFormat
Given a populated Duration object.
formatDuration(Instant) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Instant and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDuration(LocalDate) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDate using the system default ZoneId and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDuration(LocalDate, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDate using the given ZoneId and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Date.
formatDuration(LocalDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDateTime using the system default ZoneId and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDuration(LocalDateTime, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDateTime using the given ZoneId and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Date.
formatDuration(OffsetDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Instant and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDuration(ZonedDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Instant and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDuration(Calendar) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Calendar and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDuration(Date) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Date and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDuration(List<Duration>) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Duration List and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDuration(Duration) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Duration and return a non-relative (not decorated with past or future tense) String for the approximate duration of the difference between the reference Instant and the given Duration.
formatDurationUnrounded(Instant) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Instant and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDurationUnrounded(LocalDate) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDate using the system default ZoneId and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Date.
formatDurationUnrounded(LocalDate, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDate using the given ZoneId and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Date.
formatDurationUnrounded(LocalDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDateTime using the system default ZoneId and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDurationUnrounded(LocalDateTime, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDateTime using the given ZoneId and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Date.
formatDurationUnrounded(OffsetDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given OffsetDateTime and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDurationUnrounded(ZonedDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given ZonedDateTime and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDurationUnrounded(Calendar) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Calendar and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDurationUnrounded(Date) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Date and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDurationUnrounded(List<Duration>) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Duration List and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatDurationUnrounded(Duration) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Duration and return a non-relative (not decorated with past or future tense) String for the approximate duration of its difference between the reference Instant.
formatUnrounded(Instant) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Instant object.
formatUnrounded(LocalDate) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDate object using the system default ZoneId.
formatUnrounded(LocalDate, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDate object using the given ZoneId.
formatUnrounded(LocalDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDateTime object using the system default ZoneId.
formatUnrounded(LocalDateTime, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given LocalDateTime object using the given ZoneId.
formatUnrounded(OffsetDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given OffsetDateTime object.
formatUnrounded(ZonedDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given ZonedDateTime object.
formatUnrounded(Calendar) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Calendar object.
formatUnrounded(Date) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Date object.
formatUnrounded(List<Duration>) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Duration objects, using the TimeFormat specified by the TimeUnit contained within.
formatUnrounded(Duration) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
formatUnrounded(Duration) - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeFormat
 
formatUnrounded(Duration) - Method in class org.ocpsoft.prettytime.PrettyTime
Format the given Duration object, using the TimeFormat specified by the TimeUnit contained within.
formatUnrounded(Duration) - Method in interface org.ocpsoft.prettytime.TimeFormat
Given a populated Duration object.

G

getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_ar
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_az
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_bg
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_bn
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_ca
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_cs
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_da
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_de
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_el
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_en
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_eo
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_es
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_et
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_fa
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_fi
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_fr
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_gl
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_he
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_hi
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_hr
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_hu
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_in
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_it
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_iw
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_ja
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_kk
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_km
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_ko
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_mm
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_ms
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_nl
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_no
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_pa
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_pl
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_pt
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_ro
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_ru
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_sk
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_sl
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_so
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_sq
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_sr_Latn
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_sv
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_th
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_tk_TM
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_tr
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_uk
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_ur
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_uy
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_vi
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_zh_HK
 
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_zh_TW
Returns an Object array containing the resources of this ListResourceBundle.
getContents() - Method in class org.ocpsoft.prettytime.i18n.Resources_zh
 
getDelta() - Method in interface org.ocpsoft.prettytime.Duration
Return the number of milliseconds left over when calculating the number of TimeUnit's that fit into the given time range.
getDelta() - Method in class org.ocpsoft.prettytime.impl.DurationImpl
 
getFormat(TimeUnit) - Method in class org.ocpsoft.prettytime.PrettyTime
Get the registered TimeFormat for the given TimeUnit or null if none exists.
getFormatFor(TimeUnit) - Method in class org.ocpsoft.prettytime.i18n.Resources_cs
 
getFormatFor(TimeUnit) - Method in class org.ocpsoft.prettytime.i18n.Resources_de
 
getFormatFor(TimeUnit) - Method in class org.ocpsoft.prettytime.i18n.Resources_fi
 
getFormatFor(TimeUnit) - Method in class org.ocpsoft.prettytime.i18n.Resources_hr
 
getFormatFor(TimeUnit) - Method in class org.ocpsoft.prettytime.i18n.Resources_ja
 
getFormatFor(TimeUnit) - Method in class org.ocpsoft.prettytime.i18n.Resources_kk
 
getFormatFor(TimeUnit) - Method in class org.ocpsoft.prettytime.i18n.Resources_pl
 
getFormatFor(TimeUnit) - Method in class org.ocpsoft.prettytime.i18n.Resources_ru
 
getFormatFor(TimeUnit) - Method in class org.ocpsoft.prettytime.i18n.Resources_sk
 
getFormatFor(TimeUnit) - Method in class org.ocpsoft.prettytime.i18n.Resources_uk
 
getFormatFor(TimeUnit) - Method in interface org.ocpsoft.prettytime.impl.TimeFormatProvider
Return the appropriate TimeFormat for the given TimeUnit
getGramaticallyCorrectName(Duration, boolean) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
getLocale() - Method in class org.ocpsoft.prettytime.PrettyTime
Get the currently configured Locale for this PrettyTime object.
getMaxQuantity() - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeUnit
 
getMaxQuantity() - Method in interface org.ocpsoft.prettytime.TimeUnit
The maximum quantity of this Unit to be used as a threshold for the next largest Unit (e.g.
getMillisPerUnit() - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeUnit
 
getMillisPerUnit() - Method in interface org.ocpsoft.prettytime.TimeUnit
The number of milliseconds represented by each instance of this TimeUnit.
getPattern() - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
getPattern(long) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
getQuantity() - Method in interface org.ocpsoft.prettytime.Duration
Return the calculated quantity of TimeUnit instances.
getQuantity() - Method in class org.ocpsoft.prettytime.impl.DurationImpl
 
getQuantity(Duration, boolean) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
getQuantityRounded(int) - Method in interface org.ocpsoft.prettytime.Duration
Return the calculated quantity of TimeUnit instances, rounded up if Duration.getDelta() is greater than or equal to the given tolerance.
getQuantityRounded(int) - Method in class org.ocpsoft.prettytime.impl.DurationImpl
 
getReference() - Method in class org.ocpsoft.prettytime.PrettyTime
Get the current reference Instant, or null if no reference Instant is set.
getReferenceAsLegacyDate() - Method in class org.ocpsoft.prettytime.PrettyTime
Get the current reference Instant as a Date, or null if no reference Instant is set.
getResourceBundleName() - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeUnit
Return the name of the resource bundle from which this unit's format should be loaded.
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeUnit
Return the time-unit prefix to specify which value to load from the bundle.
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.units.Century
 
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.units.Day
 
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.units.Decade
 
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.units.Hour
 
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.units.JustNow
 
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.units.Millennium
 
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.units.Millisecond
 
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.units.Minute
 
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.units.Month
 
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.units.Second
 
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.units.Week
 
getResourceKeyPrefix() - Method in class org.ocpsoft.prettytime.units.Year
 
getUnit() - Method in interface org.ocpsoft.prettytime.Duration
Return the TimeUnit represented by this Duration
getUnit() - Method in class org.ocpsoft.prettytime.impl.DurationImpl
 
getUnit(Class<UNIT>) - Method in class org.ocpsoft.prettytime.PrettyTime
Get the registered TimeUnit for the given TimeUnit type or null if none exists.
getUnits() - Method in class org.ocpsoft.prettytime.PrettyTime
Get the unmodifiable List of the current configured TimeUnit instances in calculations.

H

hashCode() - Method in class org.ocpsoft.prettytime.impl.DurationImpl
 
hashCode() - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeUnit
 
Hour - Class in org.ocpsoft.prettytime.units
 
Hour() - Constructor for class org.ocpsoft.prettytime.units.Hour
 

I

isInFuture() - Method in interface org.ocpsoft.prettytime.Duration
Return true if this Duration represents a number of TimeUnit instances in the future.
isInFuture() - Method in class org.ocpsoft.prettytime.impl.DurationImpl
 
isInPast() - Method in interface org.ocpsoft.prettytime.Duration
Return true if this Duration represents a number of TimeUnit instances in the past.
isInPast() - Method in class org.ocpsoft.prettytime.impl.DurationImpl
 
isPlural(Duration, boolean) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
isPrecise() - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeUnit
 
isPrecise() - Method in interface org.ocpsoft.prettytime.TimeUnit
Whether or not this TimeUnit represents a price measurement of time, or a general concept of time.
isPrecise() - Method in class org.ocpsoft.prettytime.units.JustNow
 

J

JustNow - Class in org.ocpsoft.prettytime.units
 
JustNow() - Constructor for class org.ocpsoft.prettytime.units.JustNow
 

L

LocaleAware<TYPE> - Interface in org.ocpsoft.prettytime
An object that behaves differently for various Locale settings.

M

Millennium - Class in org.ocpsoft.prettytime.units
 
Millennium() - Constructor for class org.ocpsoft.prettytime.units.Millennium
 
Millisecond - Class in org.ocpsoft.prettytime.units
 
Millisecond() - Constructor for class org.ocpsoft.prettytime.units.Millisecond
 
Minute - Class in org.ocpsoft.prettytime.units
 
Minute() - Constructor for class org.ocpsoft.prettytime.units.Minute
 
Month - Class in org.ocpsoft.prettytime.units
 
Month() - Constructor for class org.ocpsoft.prettytime.units.Month
 

O

org.ocpsoft.prettytime - package org.ocpsoft.prettytime
 
org.ocpsoft.prettytime.format - package org.ocpsoft.prettytime.format
 
org.ocpsoft.prettytime.i18n - package org.ocpsoft.prettytime.i18n
 
org.ocpsoft.prettytime.impl - package org.ocpsoft.prettytime.impl
 
org.ocpsoft.prettytime.units - package org.ocpsoft.prettytime.units
 

P

PrettyTime - Class in org.ocpsoft.prettytime
A utility for creating social-networking style timestamps.
PrettyTime() - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will always use the current value of System.currentTimeMillis() to represent the reference point for Date comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(String) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will always use the current value of System.currentTimeMillis() to represent the reference point for Date comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(Instant) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will use the given Instant timestamp to represent the reference point for Instant comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(Instant, String) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will use the given Instant timestamp to represent the reference point for Instant comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(LocalDate) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will use the given LocalDate and the system default ZoneId to represent the reference point for Instant comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(LocalDate, String) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will use the given LocalDate and the system default ZoneId to represent the reference point for Instant comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(LocalDate, ZoneId) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will use the given LocalDate and ZoneId to represent the reference point for Instant comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(LocalDate, ZoneId, String) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will use the given Instant timestamp to represent the reference point for Instant comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(LocalDateTime) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will use the given LocalDateTime and the system default ZoneId to represent the reference point for Instant comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(LocalDateTime, String) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will use the given LocalDateTime and the system default ZoneId to represent the reference point for Instant comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(LocalDateTime, ZoneId) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will use the given LocalDateTime and ZoneId to represent the reference point for Instant comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(LocalDateTime, ZoneId, String) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will use the given LocalDateTime and ZoneId to represent the reference point for Instant comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(Date) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will use the given Date timestamp to represent the reference point for Date comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(Date, String) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Create a new PrettyTime instance that will use the given Date timestamp to represent the reference point for Date comparison, and will use Locale.getDefault() as the selected Locale for language and dialect formatting.
PrettyTime(Date, Locale) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Construct a new PrettyTime instance that will use the given Date timestamp to represent the reference point for Date comparison, and will use the given Locale instead of the system default.
PrettyTime(Date, Locale, String) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Construct a new PrettyTime instance that will use the given Date timestamp to represent the reference point for Date comparison, and will use the given Locale instead of the system default.
PrettyTime(Locale) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Construct a new PrettyTime instance that will always use the current value of System.currentTimeMillis() to represent the reference point for Date comparison.
PrettyTime(Locale, String) - Constructor for class org.ocpsoft.prettytime.PrettyTime
Construct a new PrettyTime instance that will always use the current value of System.currentTimeMillis() to represent the reference point for Date comparison.

Q

QUANTITY - Static variable in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 

R

registerUnit(TimeUnit, TimeFormat) - Method in class org.ocpsoft.prettytime.PrettyTime
Register the given TimeUnit and corresponding TimeFormat instance to be used in calculations.
removeUnit(Class<UNIT>) - Method in class org.ocpsoft.prettytime.PrettyTime
Removes the mapping for the given TimeUnit type.
removeUnit(TimeUnit) - Method in class org.ocpsoft.prettytime.PrettyTime
Removes the mapping for the given TimeUnit.
Resources - Class in org.ocpsoft.prettytime.i18n
Default resource bundle (English.)
Resources() - Constructor for class org.ocpsoft.prettytime.i18n.Resources
 
Resources_ar - Class in org.ocpsoft.prettytime.i18n
 
Resources_ar() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_ar
 
Resources_az - Class in org.ocpsoft.prettytime.i18n
 
Resources_az() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_az
 
Resources_bg - Class in org.ocpsoft.prettytime.i18n
 
Resources_bg() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_bg
 
Resources_bn - Class in org.ocpsoft.prettytime.i18n
 
Resources_bn() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_bn
 
Resources_ca - Class in org.ocpsoft.prettytime.i18n
 
Resources_ca() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_ca
 
Resources_cs - Class in org.ocpsoft.prettytime.i18n
 
Resources_cs() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_cs
 
Resources_da - Class in org.ocpsoft.prettytime.i18n
 
Resources_da() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_da
 
Resources_de - Class in org.ocpsoft.prettytime.i18n
 
Resources_de() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_de
 
Resources_el - Class in org.ocpsoft.prettytime.i18n
 
Resources_el() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_el
 
Resources_en - Class in org.ocpsoft.prettytime.i18n
 
Resources_en() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_en
 
Resources_eo - Class in org.ocpsoft.prettytime.i18n
 
Resources_eo() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_eo
 
Resources_es - Class in org.ocpsoft.prettytime.i18n
 
Resources_es() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_es
 
Resources_et - Class in org.ocpsoft.prettytime.i18n
 
Resources_et() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_et
 
Resources_fa - Class in org.ocpsoft.prettytime.i18n
 
Resources_fa() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_fa
 
Resources_fi - Class in org.ocpsoft.prettytime.i18n
 
Resources_fi() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_fi
 
Resources_fr - Class in org.ocpsoft.prettytime.i18n
 
Resources_fr() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_fr
 
Resources_gl - Class in org.ocpsoft.prettytime.i18n
 
Resources_gl() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_gl
 
Resources_he - Class in org.ocpsoft.prettytime.i18n
 
Resources_he() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_he
 
Resources_hi - Class in org.ocpsoft.prettytime.i18n
 
Resources_hi() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_hi
 
Resources_hr - Class in org.ocpsoft.prettytime.i18n
 
Resources_hr() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_hr
 
Resources_hu - Class in org.ocpsoft.prettytime.i18n
 
Resources_hu() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_hu
 
Resources_in - Class in org.ocpsoft.prettytime.i18n
Resource for Indonesian language.
Resources_in() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_in
 
Resources_it - Class in org.ocpsoft.prettytime.i18n
 
Resources_it() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_it
 
Resources_iw - Class in org.ocpsoft.prettytime.i18n
 
Resources_iw() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_iw
 
Resources_ja - Class in org.ocpsoft.prettytime.i18n
 
Resources_ja() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_ja
 
Resources_kk - Class in org.ocpsoft.prettytime.i18n
Created by Azimkhan Yerzhan on 5/8/2017
Resources_kk() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_kk
 
Resources_km - Class in org.ocpsoft.prettytime.i18n
 
Resources_km() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_km
 
Resources_ko - Class in org.ocpsoft.prettytime.i18n
 
Resources_ko() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_ko
 
Resources_mm - Class in org.ocpsoft.prettytime.i18n
 
Resources_mm() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_mm
 
Resources_ms - Class in org.ocpsoft.prettytime.i18n
 
Resources_ms() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_ms
 
Resources_nl - Class in org.ocpsoft.prettytime.i18n
 
Resources_nl() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_nl
 
Resources_no - Class in org.ocpsoft.prettytime.i18n
 
Resources_no() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_no
 
Resources_pa - Class in org.ocpsoft.prettytime.i18n
 
Resources_pa() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_pa
 
Resources_pl - Class in org.ocpsoft.prettytime.i18n
 
Resources_pl() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_pl
 
Resources_pt - Class in org.ocpsoft.prettytime.i18n
 
Resources_pt() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_pt
 
Resources_ro - Class in org.ocpsoft.prettytime.i18n
 
Resources_ro() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_ro
 
Resources_ru - Class in org.ocpsoft.prettytime.i18n
Created with IntelliJ IDEA.
Resources_ru() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_ru
 
Resources_sk - Class in org.ocpsoft.prettytime.i18n
 
Resources_sk() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_sk
 
Resources_sl - Class in org.ocpsoft.prettytime.i18n
 
Resources_sl() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_sl
 
Resources_so - Class in org.ocpsoft.prettytime.i18n
 
Resources_so() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_so
 
Resources_sq - Class in org.ocpsoft.prettytime.i18n
 
Resources_sq() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_sq
 
Resources_sr_Latn - Class in org.ocpsoft.prettytime.i18n
 
Resources_sr_Latn() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_sr_Latn
 
Resources_sv - Class in org.ocpsoft.prettytime.i18n
 
Resources_sv() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_sv
 
Resources_th - Class in org.ocpsoft.prettytime.i18n
Resource for Thailand language.
Resources_th() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_th
 
Resources_tk_TM - Class in org.ocpsoft.prettytime.i18n
Created with IntelliJ IDEA.
Resources_tk_TM() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_tk_TM
 
Resources_tr - Class in org.ocpsoft.prettytime.i18n
 
Resources_tr() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_tr
 
Resources_uk - Class in org.ocpsoft.prettytime.i18n
Created with IntelliJ IDEA.
Resources_uk() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_uk
 
Resources_ur - Class in org.ocpsoft.prettytime.i18n
 
Resources_ur() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_ur
 
Resources_uy - Class in org.ocpsoft.prettytime.i18n
Created with IntelliJ IDEA.
Resources_uy() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_uy
 
Resources_vi - Class in org.ocpsoft.prettytime.i18n
 
Resources_vi() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_vi
 
Resources_zh - Class in org.ocpsoft.prettytime.i18n
 
Resources_zh() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_zh
 
Resources_zh_HK - Class in org.ocpsoft.prettytime.i18n
 
Resources_zh_HK() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_zh_HK
 
Resources_zh_TW - Class in org.ocpsoft.prettytime.i18n
Created by edward_chiang on 13/6/27.
Resources_zh_TW() - Constructor for class org.ocpsoft.prettytime.i18n.Resources_zh_TW
 
ResourcesTimeFormat - Class in org.ocpsoft.prettytime.impl
Represents a simple method of formatting a specific Duration of time
ResourcesTimeFormat(ResourcesTimeUnit) - Constructor for class org.ocpsoft.prettytime.impl.ResourcesTimeFormat
 
ResourcesTimeFormat(ResourcesTimeUnit, String) - Constructor for class org.ocpsoft.prettytime.impl.ResourcesTimeFormat
 
ResourcesTimeUnit - Class in org.ocpsoft.prettytime.impl
 
ResourcesTimeUnit() - Constructor for class org.ocpsoft.prettytime.impl.ResourcesTimeUnit
 

S

Second - Class in org.ocpsoft.prettytime.units
 
Second() - Constructor for class org.ocpsoft.prettytime.units.Second
 
setDelta(long) - Method in class org.ocpsoft.prettytime.impl.DurationImpl
 
setFuturePluralName(String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
setFuturePrefix(String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
setFutureSingularName(String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
setFutureSuffix(String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
setLocale(Locale) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
setLocale(Locale) - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeFormat
 
setLocale(Locale) - Method in interface org.ocpsoft.prettytime.LocaleAware
Set the Locale for which this instance should behave in.
setLocale(Locale) - Method in class org.ocpsoft.prettytime.PrettyTime
Set the the Locale for this PrettyTime object.
setMaxQuantity(long) - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeUnit
 
setMillisPerUnit(long) - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeUnit
 
setPastPluralName(String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
setPastPrefix(String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
setPastSingularName(String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
setPastSuffix(String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
setPattern(String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
setPluralName(String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
setQuantity(long) - Method in class org.ocpsoft.prettytime.impl.DurationImpl
 
setReference(Instant) - Method in class org.ocpsoft.prettytime.PrettyTime
Set the reference Instant.
setReference(LocalDate) - Method in class org.ocpsoft.prettytime.PrettyTime
Converts the given LocalDate to the reference Instant using the given ZoneId.
setReference(LocalDate, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Converts the given LocalDate to the reference Instant using the given ZoneId.
setReference(LocalDateTime) - Method in class org.ocpsoft.prettytime.PrettyTime
Converts the given LocalDateTime to the reference Instant using the system default ZoneId.
setReference(LocalDateTime, ZoneId) - Method in class org.ocpsoft.prettytime.PrettyTime
Converts the given LocalDateTime to the reference Instant using the given ZoneId.
setReference(Date) - Method in class org.ocpsoft.prettytime.PrettyTime
Converts the given Date to the reference Instant.
setRoundingTolerance(int) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
The percentage of the current TimeUnit.getMillisPerUnit() for which the quantity may be rounded up by one.
setSingularName(String) - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
setUnit(TimeUnit) - Method in class org.ocpsoft.prettytime.impl.DurationImpl
 
setUnits(ResourcesTimeUnit...) - Method in class org.ocpsoft.prettytime.PrettyTime
 
setUnits(TimeFormat, TimeUnit...) - Method in class org.ocpsoft.prettytime.PrettyTime
 
SIGN - Static variable in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
SimpleTimeFormat - Class in org.ocpsoft.prettytime.format
Represents a simple method of formatting a specific Duration of time
SimpleTimeFormat() - Constructor for class org.ocpsoft.prettytime.format.SimpleTimeFormat
 

T

TimeFormat - Interface in org.ocpsoft.prettytime
Format a Duration object.
TimeFormatProvider - Interface in org.ocpsoft.prettytime.impl
Produces time formats.
TimeUnit - Interface in org.ocpsoft.prettytime
Defines a Unit of time (e.g.
toString() - Method in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 
toString() - Method in class org.ocpsoft.prettytime.impl.DurationImpl
 
toString() - Method in class org.ocpsoft.prettytime.impl.ResourcesTimeUnit
 
toString() - Method in class org.ocpsoft.prettytime.PrettyTime
 

U

UNIT - Static variable in class org.ocpsoft.prettytime.format.SimpleTimeFormat
 

W

Week - Class in org.ocpsoft.prettytime.units
 
Week() - Constructor for class org.ocpsoft.prettytime.units.Week
 

Y

Year - Class in org.ocpsoft.prettytime.units
 
Year() - Constructor for class org.ocpsoft.prettytime.units.Year
 
A C D E F G H I J L M O P Q R S T U W Y 
All Classes and Interfaces|All Packages|Constant Field Values