Package org.apache.juneau.objecttools
Class TimeMatcherFactory
java.lang.Object
org.apache.juneau.objecttools.MatcherFactory
org.apache.juneau.objecttools.TimeMatcherFactory
Date/time matcher factory for the 
ObjectSearcher class.
 The class provides searching based on the following patterns:
- "property=2011" - A single year
- "property=2011 2013 2015" - Multiple years
- "property=2011-01" - A single month
- "property=2011-01-01" - A single day
- "property=2011-01-01T12" - A single hour
- "property=2011-01-01T12:30" - A single minute
- "property=2011-01-01T12:30:45" - A single second
- "property=>2011" ,- "property=>=2011" ,- "property=<2011" ,- "property=<=2011" - Open-ended ranges
- "property=>2011" ,- "property=>=2011" ,- "property=<2011" ,- "property=<=2011" - Open-ended ranges
- "property=2011 - 2013-06-30" - Closed ranges
See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturnstrue if this matcher can be used on the specified object.Instantiates a matcher for the specified pattern.protected SimpleDateFormat[]TODOprotected String[]TODO
- 
Field Details- 
DEFAULTDefault reusable matcher.
 
- 
- 
Constructor Details- 
TimeMatcherFactoryprotected TimeMatcherFactory()Constructor.
 
- 
- 
Method Details- 
getTimestampFormatsTODO- Returns:
- TODO
 
- 
getTimestampFormatStringsTODO- Returns:
- TODO
 
- 
canMatchDescription copied from class:MatcherFactoryReturnstrue if this matcher can be used on the specified object.- Specified by:
- canMatchin class- MatcherFactory
- Parameters:
- cm- The class type of the object being matched. Never- null .
- Returns:
- true if this matcher can be used on the specified object.
 
- 
createDescription copied from class:MatcherFactoryInstantiates a matcher for the specified pattern.- Specified by:
- createin class- MatcherFactory
- Parameters:
- pattern- The pattern string.
- Returns:
- A matcher for the specified pattern.
 
 
-