Java Doc for Date.java in  » XML » saxonb » net » sf » saxon » exslt » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » XML » saxonb » net.sf.saxon.exslt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.saxon.exslt.Date

Date
final public class Date (Code)
This class implements extension functions in the http://exslt.org/dates-and-times namespace.





Method Summary
public static  Stringdate(String dateTime)
     The date:date function returns the date specified in the date/time string given as the argument.
public static  Stringdate()
     The date:date function returns the current date.
public static  StringdateTime()
     The date:date-time function returns the current date and time as a date/time string.
public static  StringdayAbbreviation(String dateTime)
     Return the day of the week given in a date as an English day abbreviation: one of 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', or 'Sat'.
public static  StringdayAbbreviation()
     Return the day of the week given in the current date as an English day abbreviation: one of 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', or 'Sat'.
public static  doubledayInMonth(String dateTime)
    
public static  doubledayInMonth()
    
public static  doubledayInWeek(String dateTime)
     Return the day of the week given in a date as a number.
public static  doubledayInWeek()
     Return the day of the week in the current date as a number.
public static  doubledayInYear(String dateTime)
    
public static  doubledayInYear()
    
public static  StringdayName(String dateTime)
     Return the day of the week given in a date as an English day name: one of 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday' or 'Friday'.
public static  StringdayName()
     Return the day of the week given in the current date as an English day name: one of 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday' or 'Friday'.
public static  doubledayOfWeekInMonth(String dateTime)
     Return the day-of-the-week in a month of a date as a number (for example 3 for the 3rd Tuesday in May).
public static  doubledayOfWeekInMonth()
     Return the day-of-the-week in a month of the current date as a number (for example 3 for the 3rd Tuesday in May).
public static  doublehourInDay(String dateTime)
    
public static  doublehourInDay()
    
public static  booleanleapYear(String dateTime)
     Return true if the year specified in the date/time string given as the argument is a leap year.
public static  booleanleapYear()
    
public static  doubleminuteInHour(String dateTime)
    
public static  doubleminuteInHour()
    
public static  StringmonthAbbreviation(String date)
     Return the month abbreviation from a date.
public static  StringmonthAbbreviation()
     Return the month abbreviation from the current date.
public static  doublemonthInYear(String dateTime)
     Return the month number from a date.
public static  doublemonthInYear()
     Return the month number from the current date.
public static  StringmonthName(String date)
     Return the month name from a date.
public static  StringmonthName()
     Return the month name from the current date.
public static  doublesecondInMinute(String dateTime)
    
public static  doublesecondInMinute()
    
public static  Stringtime(String dateTime)
     The date:time function returns the time specified in the date/time string given as the argument.
public static  Stringtime()
     The date:time function returns the current time.
public static  doubleweekInMonth(String dateTime)
    
public static  doubleweekInMonth()
    
public static  doubleweekInYear(String dateTime)
    
public static  doubleweekInYear()
    
public static  doubleyear(String dateTime)
     The date:year function returns the year specified in the date/time string given as the argument.
public static  doubleyear()
     The date:year function returns the current year.



Method Detail
date
public static String date(String dateTime)(Code)
The date:date function returns the date specified in the date/time string given as the argument.
Parameters:
  dateTime - must start with [+|-]CCYY-MM-DD



date
public static String date()(Code)
The date:date function returns the current date.



dateTime
public static String dateTime()(Code)
The date:date-time function returns the current date and time as a date/time string. The date/time string that's returned must be a string in the format defined as the lexical representation of xs:dateTime in [3.2.7 dateTime] of [XML Schema Part 2: Datatypes]. The date/time format is basically CCYY-MM-DDThh:mm:ss+hh:mm. The date/time string format must include a time zone, either a Z to indicate Coordinated Universal Time or a + or - followed by the difference between the difference from UTC represented as hh:mm.



dayAbbreviation
public static String dayAbbreviation(String dateTime)(Code)
Return the day of the week given in a date as an English day abbreviation: one of 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', or 'Sat'.
Parameters:
  dateTime - must start with CCYY-MM-DD



dayAbbreviation
public static String dayAbbreviation()(Code)
Return the day of the week given in the current date as an English day abbreviation: one of 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', or 'Sat'.



dayInMonth
public static double dayInMonth(String dateTime)(Code)
Return the day number of a specified date within the month
Parameters:
  dateTime - must start with CCYY-MM-DD, or --MM-DD, or ---DD



dayInMonth
public static double dayInMonth()(Code)
Return the day number of the current date within the month



dayInWeek
public static double dayInWeek(String dateTime)(Code)
Return the day of the week given in a date as a number. The numbering of days of the week starts at 1 for Sunday, 2 for Monday and so on up to 7 for Saturday.
Parameters:
  dateTime - must start with CCYY-MM-DD



dayInWeek
public static double dayInWeek()(Code)
Return the day of the week in the current date as a number. The numbering of days of the week starts at 1 for Sunday, 2 for Monday and so on up to 7 for Saturday.



dayInYear
public static double dayInYear(String dateTime)(Code)
Return the day number of a specified date within the year



dayInYear
public static double dayInYear()(Code)
Return the day number of the current date within the year



dayName
public static String dayName(String dateTime)(Code)
Return the day of the week given in a date as an English day name: one of 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday' or 'Friday'.
Parameters:
  dateTime - must start with CCYY-MM-DD



dayName
public static String dayName()(Code)
Return the day of the week given in the current date as an English day name: one of 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday' or 'Friday'.



dayOfWeekInMonth
public static double dayOfWeekInMonth(String dateTime)(Code)
Return the day-of-the-week in a month of a date as a number (for example 3 for the 3rd Tuesday in May).
Parameters:
  dateTime - must start with CCYY-MM-DD



dayOfWeekInMonth
public static double dayOfWeekInMonth()(Code)
Return the day-of-the-week in a month of the current date as a number (for example 3 for the 3rd Tuesday in May).



hourInDay
public static double hourInDay(String dateTime)(Code)
Return the hour of the day in the specified date or date/time
Parameters:
  dateTime - must start with CCYY-MM-DDThh:mm:ss or hh:mm:ss



hourInDay
public static double hourInDay()(Code)
Return the current hour of the day



leapYear
public static boolean leapYear(String dateTime)(Code)
Return true if the year specified in the date/time string given as the argument is a leap year.



leapYear
public static boolean leapYear()(Code)
Returns true if the current year is a leap year



minuteInHour
public static double minuteInHour(String dateTime)(Code)
Return the minute of the hour in the specified date or date/time
Parameters:
  dateTime - must start with CCYY-MM-DDThh:mm:ss or hh:mm:ss



minuteInHour
public static double minuteInHour()(Code)
Return the current minute of the hour



monthAbbreviation
public static String monthAbbreviation(String date)(Code)
Return the month abbreviation from a date. The date must start with either "CCYY-MM" or "--MM" the English month abbreviation, for example "Jan", "Feb"



monthAbbreviation
public static String monthAbbreviation()(Code)
Return the month abbreviation from the current date. the English month abbreviation, for example "Jan", "Feb"



monthInYear
public static double monthInYear(String dateTime)(Code)
Return the month number from a date. The date must start with either "CCYY-MM" or "--MM"



monthInYear
public static double monthInYear()(Code)
Return the month number from the current date.



monthName
public static String monthName(String date)(Code)
Return the month name from a date. The date must start with either "CCYY-MM" or "--MM" the English month name, for example "January", "February"



monthName
public static String monthName()(Code)
Return the month name from the current date. the English month name, for example "January", "February"



secondInMinute
public static double secondInMinute(String dateTime)(Code)
Return the second of the minute in the specified date or date/time
Parameters:
  dateTime - must start with CCYY-MM-DDThh:mm:ss or hh:mm:ss



secondInMinute
public static double secondInMinute()(Code)
Return the current second of the minute



time
public static String time(String dateTime)(Code)
The date:time function returns the time specified in the date/time string given as the argument.
Parameters:
  dateTime - must start with [+|-]CCYY-MM-DDThh:mm:ss



time
public static String time()(Code)
The date:time function returns the current time.



weekInMonth
public static double weekInMonth(String dateTime)(Code)
Return the week number of a specified date within the month (Note, this function is underspecified in EXSLT)



weekInMonth
public static double weekInMonth()(Code)
Return the ISO week number of the current date within the month



weekInYear
public static double weekInYear(String dateTime)(Code)
Return the ISO week number of a specified date within the year (Note, this returns the ISO week number: the result in EXSLT is underspecified)



weekInYear
public static double weekInYear()(Code)
Return the ISO week number of the current date within the year (Note, this returns the ISO week number: the result in EXSLT is underspecified)



year
public static double year(String dateTime)(Code)
The date:year function returns the year specified in the date/time string given as the argument.
Parameters:
  dateTime - must begin with CCYY



year
public static double year()(Code)
The date:year function returns the current year.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.