From: <bra...@us...> - 2007-11-06 03:44:26
|
Revision: 2072 http://archive-access.svn.sourceforge.net/archive-access/?rev=2072&view=rev Author: bradtofel Date: 2007-11-05 19:44:31 -0800 (Mon, 05 Nov 2007) Log Message: ----------- Added TWO_MONTH resolution and closest indicator constants Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2007-11-05 23:40:49 UTC (rev 2071) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2007-11-06 03:44:31 UTC (rev 2072) @@ -140,6 +140,11 @@ * Request: month resolution (TimeLine mode) */ public static final String REQUEST_RESOLUTION_MONTHS = "months"; + + /** + * Request: two-month resolution (TimeLine mode) + */ + public static final String REQUEST_RESOLUTION_TWO_MONTHS = "twomonths"; /** * Request: year resolution (TimeLine mode) @@ -306,6 +311,13 @@ * not redirect */ public static final String RESULT_REDIRECT_URL = "redirecturl"; + + /** + * Result: flag within a SearchResult that indicates this is the closest to + * a particular requested date. + */ + public static final String RESULT_CLOSEST_INDICATOR = "closest"; + public static final String RESULT_CLOSEST_VALUE = "true"; /** * Name of configuration in web.xml for maximum number of results to return This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |