Source Code Cross Referenced for Calendar.java in  » Project-Management » quartz » org » quartz » 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 » Project Management » quartz » org.quartz 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /* 
002:         * Copyright 2004-2005 OpenSymphony 
003:         * 
004:         * Licensed under the Apache License, Version 2.0 (the "License"); you may not 
005:         * use this file except in compliance with the License. You may obtain a copy 
006:         * of the License at 
007:         * 
008:         *   http://www.apache.org/licenses/LICENSE-2.0 
009:         *   
010:         * Unless required by applicable law or agreed to in writing, software 
011:         * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 
012:         * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 
013:         * License for the specific language governing permissions and limitations 
014:         * under the License.
015:         * 
016:         */
017:
018:        /*
019:         * Previously Copyright (c) 2001-2004 James House
020:         */
021:
022:        package org.quartz;
023:
024:        /**
025:         * <p>
026:         * An interface to be implemented by objects that define spaces of time during 
027:         * which an associated <code>{@link Trigger}</code> may fire. Calendars do not 
028:         * define actual fire times, but rather are used to limit a <code>Trigger</code>
029:         * from firing on its normal schedule if necessary. Most Calendars include all
030:         * times by default and allow the user to specify times to exclude. As such, it
031:         * is often useful to think of Calendars as being used to <I>exclude</I> a block
032:         * of time &mdash; as opposed to <I>include</I> a block of time. (i.e. the 
033:         * schedule &quot;fire every five minutes except on Sundays&quot; could be 
034:         * implemented with a <code>SimpleTrigger</code> and a 
035:         * <code>WeeklyCalendar</code> which excludes Sundays)
036:         * </p>
037:         * 
038:         * @author James House
039:         * @author Juergen Donnerstag
040:         */
041:        public interface Calendar extends java.io.Serializable {
042:
043:            /*
044:             * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
045:             * 
046:             * Constants.
047:             * 
048:             * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
049:             */
050:
051:            int MONTH = 0;
052:
053:            /*
054:             * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
055:             * 
056:             * Interface.
057:             * 
058:             * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
059:             */
060:
061:            /**
062:             * <p>
063:             * Set a new base calendar or remove the existing one.
064:             * </p>
065:             */
066:            void setBaseCalendar(Calendar baseCalendar);
067:
068:            /**
069:             * <p>
070:             * Get the base calendar. Will be null, if not set.
071:             * </p>
072:             */
073:            Calendar getBaseCalendar();
074:
075:            /**
076:             * <p>
077:             * Determine whether the given time (in milliseconds) is 'included' by the
078:             * Calendar.
079:             * </p>
080:             */
081:            boolean isTimeIncluded(long timeStamp);
082:
083:            /**
084:             * <p>
085:             * Determine the next time (in milliseconds) that is 'included' by the
086:             * Calendar after the given time.
087:             * </p>
088:             */
089:            long getNextIncludedTime(long timeStamp);
090:
091:            /**
092:             * <p>
093:             * Return the description given to the <code>Calendar</code> instance by
094:             * its creator (if any).
095:             * </p>
096:             * 
097:             * @return null if no description was set.
098:             */
099:            String getDescription();
100:
101:            /**
102:             * <p>
103:             * Set a description for the <code>Calendar</code> instance - may be
104:             * useful for remembering/displaying the purpose of the calendar, though
105:             * the description has no meaning to Quartz.
106:             * </p>
107:             */
108:            void setDescription(String description);
109:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.