jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: How to write this query which can contraint the datetime type property in appointed parameter
Date Mon, 20 Nov 2006 12:51:00 GMT

On 11/20/06, wendy Lee <hawkliwend@gmail.com> wrote:
> Can  I  convert the date  to compliant format   by the SimpleDateFormatter
> Class ?  Or Maybe you can give me an example of " fn:dateTime" in the java
> Code .

The easiest way is probably to use the built-in date formatting
functionality in JCR Values.

    Calendar date = ...;


Jukka Zitting

View raw message