|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.claudio.contactdb.data.FuzzyDate
public class FuzzyDate
Nested Class Summary | |
---|---|
static class |
FuzzyDate.Precision
The possible interval precisions that can be handled. |
Constructor Summary | |
---|---|
FuzzyDate(java.lang.String date,
FuzzyDate.Precision precision)
Create a fuzzy day with the given date and precision. |
Method Summary | |
---|---|
static FuzzyDate |
create(java.lang.String year,
java.lang.String month,
java.lang.String day)
Create a fuzzy date for a day. |
long |
getEnd()
|
long |
getStart()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FuzzyDate(java.lang.String date, FuzzyDate.Precision precision)
date
- String in ISO8601 formatprecision
- one of the supported enum valuesMethod Detail |
---|
public long getStart()
public long getEnd()
public static FuzzyDate create(java.lang.String year, java.lang.String month, java.lang.String day)
year
- month
- day
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |