org.mycore.backend.jdom
Class MCRXalanExtensions
java.lang.Object
org.mycore.backend.jdom.MCRXalanExtensions
public class MCRXalanExtensions
- extends Object
This class implements Xalan extension functions for the JDOM search.
- Version:
- $Revision: 13085 $ $Date: 2008-02-06 18:27:24 +0100 (Mi, 06 Feb 2008) $
- Author:
- Jens Kupferschmidt
|
Method Summary |
static boolean |
compareDates(String date_one,
String date_two,
String compare_operator)
This method implements a XSLT function to compare two date values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCRXalanExtensions
public MCRXalanExtensions()
compareDates
public static boolean compareDates(String date_one,
String date_two,
String compare_operator)
- This method implements a XSLT function to compare two date values.
- Parameters:
date_one - the date that should be compared with date_twodate_two - the data that date_one is compared withcompare_operator - The operator to compare in the form 'date_one compare_operator
date_two'
- Returns:
- true if the test is correct, else return false