|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DateFacet
Allows browsing of timeline data. DateFacet handles arbitrary timespans (much like SpectrumFacet) and/or provides common units of time as backward and forward headings; for example, a DateHeading representing a month might provide the entire year as a backward heading, and individual days as a forward heading.
DateFacet operates in Universal Coordinated Time (UTC); timezones are ignored in order to provide more consistent classification. If you find that your resources appear to be in the wrong DateHeading, with an error of a day or less, it may be because you used a local timezone when creating dates for your resources.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.facetmap.Facet |
|---|
Facet.Util |
| Method Summary | |
|---|---|
DateHeading |
getDateHeading(java.util.Date instant)
Return a DateHeading in this facet which represents only an instant. |
DateHeading |
getDateHeading(java.util.Date startInstant,
java.util.Date endInstant)
Return a DateHeading in this facet which represents a timespan. |
DateHeading |
getDateHeading(java.lang.String id)
Return a previously defined DateHeading. |
| Methods inherited from interface com.facetmap.Facet |
|---|
getHeading, getId, getRootHeading, getTitle |
| Method Detail |
|---|
DateHeading getDateHeading(java.util.Date startInstant,
java.util.Date endInstant)
com.facetmap.simple.DateHeadingBuilder, which
wraps DateFacet and provides more usable methods to get DateHeadings.
com.facetmap.simple.DateHeadingBuilderDateHeading getDateHeading(java.util.Date instant)
DateHeading getDateHeading(java.lang.String id)
throws UnknownReferenceException
UnknownReferenceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||