|
Qizx fe-4.4p2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.qizx.util.StringParser
com.qizx.util.DateTimeParser
com.qizx.api.util.text.ISODateSieve
public class ISODateSieve
Default DateSieve implementation: recognizes ISO date and dateTime.
Recognized patterns: YYYY-MM-DD[TZ] and YYYY-MM-DDThh:mm:ss.fff[TZ], where TZ is an optional time-zone specification.
Constructor Summary | |
---|---|
ISODateSieve()
|
Method Summary | |
---|---|
double |
convert(String value)
Returns a number of milliseconds since 1970-01-01 00:00:00 UTC. |
String[] |
getParameters()
Returns parameters specified by setParameters(). |
void |
setParameters(String[] parameters)
Defines optional parameters for the sieve. |
String |
toString()
|
Methods inherited from class com.qizx.util.DateTimeParser |
---|
getMillisecondsFromEpoch, parseDate, parseTime, parseTimezone, reset |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ISODateSieve()
Method Detail |
---|
public double convert(String value)
convert
in interface Indexing.DateSieve
convert
in interface Indexing.NumberSieve
value
- a possible date to convert.
public String[] getParameters()
Indexing.Sieve
getParameters
in interface Indexing.Sieve
public void setParameters(String[] parameters) throws DataModelException
Indexing.Sieve
setParameters
in interface Indexing.Sieve
parameters
- an array of even size containing alternately a
parameter name and a parameter value.
DataModelException
- if the option is unknown or the value is
invalid.Indexing.Sieve.setParameters(java.lang.String[])
public String toString()
toString
in class Object
|
© 2010 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |