Java Doc for TimeService.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » time » api » 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 » ERP CRM Financial » sakai » org.sakaiproject.time.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sakaiproject.time.api.TimeService

All known Subclasses:   org.sakaiproject.time.impl.BasicTimeService,
TimeService
public interface TimeService (Code)

TimeService ...



Field Summary
final static  StringAPPLICATION_ID
     The type string for this "application": should not change over time as it may be stored in various parts of persistent entities.
final public static  StringTIMEZONE_KEY
    


Method Summary
 booleanclearLocalTimeZone(String userId)
    
 booleandifferent(Time a, Time b)
     Compare two Time for differences, either may be null
Parameters:
  a - One Time.
Parameters:
  b - The other Time.
 GregorianCalendargetCalendar(TimeZone zone, int year, int month, int day, int hour, int min, int sec, int ms)
     Get a Calendar, set to this zone and these values.
Parameters:
  zone - The TimeZone for the calendar.
Parameters:
  year - full year (i.e.
 TimeZonegetLocalTimeZone()
     Access the local TimeZone.
 TimenewTime()
     Get a time object.
 TimenewTime(long value)
     Get a time object, set from this long milliseconds since the "epoc" value.
Parameters:
  value - time long milliseconds value.
 TimenewTime(GregorianCalendar cal)
    
 TimeBreakdownnewTimeBreakdown(int year, int month, int day, int hour, int minute, int second, int millisecond)
     Get a TimeBreakdown object, set from individual ints.
Parameters:
  year - full year (i.e.
 TimenewTimeGmt(String value)
     Get a time object, set from this string in our format, Gmt values
Parameters:
  value - time format string.
 TimenewTimeGmt(int year, int month, int day, int hour, int minute, int second, int millisecond)
     Get a time object, set from individual ints, Gmt values
Parameters:
  year - full year (i.e.
 TimenewTimeGmt(TimeBreakdown breakdown)
     Get a time object, set from this breakdown (Gmt values).
Parameters:
  breakdown - The time breakdown values.
 TimenewTimeLocal(int year, int month, int day, int hour, int minute, int second, int millisecond)
     Get a time object, set from individual ints, Local values
Parameters:
  year - full year (i.e.
 TimenewTimeLocal(TimeBreakdown breakdown)
     Get a time object, set from this breakdown (Local values).
Parameters:
  breakdown - The time breakdown values.
 TimeRangenewTimeRange(Time start, Time end, boolean startIncluded, boolean endIncluded)
     Get a TimeRange, from parts.
Parameters:
  start - The start Time.
Parameters:
  end - The end Time.
Parameters:
  startIncluded - true if start is part of the range, false if not.
Parameters:
  endIncluded - true of end is part of the range, false if not.
 TimeRangenewTimeRange(String value)
     Get a TimeRange, from our string format.
Parameters:
  value - The TimeRange string.
 TimeRangenewTimeRange(Time startAndEnd)
     Get a TimeRange, from a single time.
Parameters:
  startAndEnd - The Time for the range.
 TimeRangenewTimeRange(long start, long duration)
     Get a TimeRange, from a time value long start and duration
Parameters:
  start - The long start time (milliseconds since).
Parameters:
  duration - The long milliseconds duration.
 TimeRangenewTimeRange(Time start, Time end)
     Get a TimeRange, from two times, inclusive.
Parameters:
  start - The start time.
Parameters:
  end - The end time.

Field Detail
APPLICATION_ID
final static String APPLICATION_ID(Code)
The type string for this "application": should not change over time as it may be stored in various parts of persistent entities.



TIMEZONE_KEY
final public static String TIMEZONE_KEY(Code)
Preferences key for user's time zone





Method Detail
clearLocalTimeZone
boolean clearLocalTimeZone(String userId)(Code)
Clear local time zone for specified user true if successful



different
boolean different(Time a, Time b)(Code)
Compare two Time for differences, either may be null
Parameters:
  a - One Time.
Parameters:
  b - The other Time. true if the Times are different, false if they are the same.



getCalendar
GregorianCalendar getCalendar(TimeZone zone, int year, int month, int day, int hour, int min, int sec, int ms)(Code)
Get a Calendar, set to this zone and these values.
Parameters:
  zone - The TimeZone for the calendar.
Parameters:
  year - full year (i.e. 1999, 2000)
Parameters:
  month - month in year (1..12)
Parameters:
  day - day in month (1..31)
Parameters:
  hour - hour in day (0..23)
Parameters:
  min - minute in hour (0..59)
Parameters:
  second - second in minute (0..59)
Parameters:
  ms - millisecond in second (0..999)



getLocalTimeZone
TimeZone getLocalTimeZone()(Code)
Access the local TimeZone. The local TimeZone.



newTime
Time newTime()(Code)
Get a time object. A time object, set to now.



newTime
Time newTime(long value)(Code)
Get a time object, set from this long milliseconds since the "epoc" value.
Parameters:
  value - time long milliseconds value. A time object.



newTime
Time newTime(GregorianCalendar cal)(Code)
Get a time object, based on the time set in the calendar A time object, set to now.



newTimeBreakdown
TimeBreakdown newTimeBreakdown(int year, int month, int day, int hour, int minute, int second, int millisecond)(Code)
Get a TimeBreakdown object, set from individual ints.
Parameters:
  year - full year (i.e. 1999, 2000)
Parameters:
  month - month in year (1..12)
Parameters:
  day - day in month (1..31)
Parameters:
  hour - hour in day (0..23)
Parameters:
  minuet - minute in hour (0..59)
Parameters:
  second - second in minute (0..59)
Parameters:
  millisecond - millisecond in second (0..999) A TimeBreakdown.



newTimeGmt
Time newTimeGmt(String value)(Code)
Get a time object, set from this string in our format, Gmt values
Parameters:
  value - time format string. A time object.



newTimeGmt
Time newTimeGmt(int year, int month, int day, int hour, int minute, int second, int millisecond)(Code)
Get a time object, set from individual ints, Gmt values
Parameters:
  year - full year (i.e. 1999, 2000)
Parameters:
  month - month in year (1..12)
Parameters:
  day - day in month (1..31)
Parameters:
  hour - hour in day (0..23)
Parameters:
  minuet - minute in hour (0..59)
Parameters:
  second - second in minute (0..59)
Parameters:
  millisecond - millisecond in second (0..999) A time object.



newTimeGmt
Time newTimeGmt(TimeBreakdown breakdown)(Code)
Get a time object, set from this breakdown (Gmt values).
Parameters:
  breakdown - The time breakdown values. A time object.



newTimeLocal
Time newTimeLocal(int year, int month, int day, int hour, int minute, int second, int millisecond)(Code)
Get a time object, set from individual ints, Local values
Parameters:
  year - full year (i.e. 1999, 2000)
Parameters:
  month - month in year (1..12)
Parameters:
  day - day in month (1..31)
Parameters:
  hour - hour in day (0..23)
Parameters:
  minuet - minute in hour (0..59)
Parameters:
  second - second in minute (0..59)
Parameters:
  millisecond - millisecond in second (0..999) A time object.



newTimeLocal
Time newTimeLocal(TimeBreakdown breakdown)(Code)
Get a time object, set from this breakdown (Local values).
Parameters:
  breakdown - The time breakdown values. A time object.



newTimeRange
TimeRange newTimeRange(Time start, Time end, boolean startIncluded, boolean endIncluded)(Code)
Get a TimeRange, from parts.
Parameters:
  start - The start Time.
Parameters:
  end - The end Time.
Parameters:
  startIncluded - true if start is part of the range, false if not.
Parameters:
  endIncluded - true of end is part of the range, false if not. A TimeRange.



newTimeRange
TimeRange newTimeRange(String value)(Code)
Get a TimeRange, from our string format.
Parameters:
  value - The TimeRange string. A TimeRange.



newTimeRange
TimeRange newTimeRange(Time startAndEnd)(Code)
Get a TimeRange, from a single time.
Parameters:
  startAndEnd - The Time for the range. A TimeRange.



newTimeRange
TimeRange newTimeRange(long start, long duration)(Code)
Get a TimeRange, from a time value long start and duration
Parameters:
  start - The long start time (milliseconds since).
Parameters:
  duration - The long milliseconds duration. A TimeRange.



newTimeRange
TimeRange newTimeRange(Time start, Time end)(Code)
Get a TimeRange, from two times, inclusive.
Parameters:
  start - The start time.
Parameters:
  end - The end time. A TimeRange.



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