Date functions


Standard Syntax:
     <%@ taglib prefix="date" uri="http://jsftools.logikdev.com/date" %>

XML Syntax:
     <anyxmlelement xmlns:date="http://jsftools.logikdev.com/date" />

JSF Tools 0.3 Date functions library

Tag Library Information
Display NameDate functions
Version0.3
Short Namedate
URIhttp://jsftools.logikdev.com/date
 

Function Summary
java.lang.Stringformat( java.lang.String, java.lang.Object, java.util.Locale, java.util.TimeZone)Returns a formatted string representing the specified date, Locale, and TimeZone.
java.lang.StringformatByStyles( java.lang.String, java.lang.String, java.lang.Object, java.util.Locale, java.util.TimeZone)Returns the specified date as a string formatted according to the specified Locale and date and/or time styles.
java.lang.Stringget( java.lang.String)Returns a formatted string representing the date returned by getDate().
java.lang.StringgetByStyles( java.lang.String, java.lang.String)Returns a formatted string representing the date and/or time given by getDate() in standard, localized patterns.
java.util.CalendargetCalendar( )Returns a Calendar instance created using the timezone and locale returned by getTimeZone() and getLocale().
java.util.DategetDate( )Returns a Date derived from the result of getCalendar().
java.text.DateFormatgetDateFormat( java.lang.String, java.util.Locale, java.util.TimeZone)Returns a DateFormat instance for the specified format, Locale, and TimeZone.
java.text.DateFormatgetDateFormatByStyles( java.lang.String, java.lang.String, java.util.Locale, java.util.TimeZone)Returns a DateFormat instance for the specified date style, time style, Locale, and TimeZone.
java.lang.IntegergetDay( java.lang.Object)Returns the day (of the month) value for the specified date.
java.lang.IntegergetMonth( java.lang.Object)Returns the month value of the specified date.
java.util.CalendargetSystemCalendar( )Returns the system's current time as a Calendar.
java.util.DategetSystemDate( )Returns the system's current time as a Date.
longgetSystemTime( )Returns the system's current time as the number of milliseconds elapsed since January 1, 1970, 00:00:00 GMT.
java.util.TimeZonegetTimeZone( )Returns the configured TimeZone.
java.lang.IntegergetValue( java.lang.Object, java.lang.Object)Returns the specified value of the specified date, or null if the field or date is invalid.
java.lang.IntegergetYear( java.lang.Object)Returns the year value of the specified date.
java.util.CalendartoCalendar( java.lang.Object, java.util.Locale)Converts an object to an instance of Calendar using the locale returned by LocaleConfig.getLocale() if necessary.
java.util.DatetoDate( java.lang.String, java.lang.Object, java.util.Locale, java.util.TimeZone)Converts an object to an instance of Date using the specified format, Locale, and TimeZone.
 


Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.