Java Doc for WorkingCalendar.java in  » Project-Management » OpenProj » com » projity » pm » calendar » 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 » OpenProj » com.projity.pm.calendar 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.projity.pm.calendar.WorkingCalendar

WorkingCalendar
public class WorkingCalendar implements WorkCalendar,Serializable,Comparable(Code)
Calendar functions


Field Summary
final public static  WorkingCalendarINVALID_INTERSECTION_CALENDAR
    
final static  longserialVersionUID
    
 StringserializedName
    


Method Summary
public  longadd(long date, long duration, boolean useSooner)
    
public  voidaddCalendarTime(long start, long end)
    
public  voidaddObjectUsing(HasCalendar cal)
    
public  voidaddOrReplaceException(WorkDay exceptionDay)
    
public  longadjustInsideCalendar(long date, boolean useSooner)
    
public  voidassignFrom(WorkingCalendar source)
    
public  voidchangeBaseCalendar(WorkCalendar baseCalendar)
    
public  Objectclone()
    
public  longcompare(long laterDate, long earlierDate, boolean elapsed)
    
public  intcompareTo(Object arg0)
    
public  booleandependsOn(WorkCalendar cal)
    
public  Stringdump()
    
public  booleanequals(Object arg0)
    
public static  ArrayListextractCalendars(Collection collection)
    
public static  ArrayListextractCalendars(NodeHierarchy hierarchy)
    
static  WorkingCalendarget24HoursInstance()
    
public  WorkCalendargetBaseCalendar()
    
public  StringgetCategory()
    
public  CalendarDefinitiongetConcreteInstance()
    
static  WorkingCalendargetDefaultInstance()
    
public  WorkDaygetDerivedWeekDay(int dayNum)
    
public  WorkDay[]getExceptionDays()
    
final public  intgetFixedId()
    
public  longgetId()
    
public static  WorkingCalendargetInstance()
    
public static  WorkingCalendargetInstanceBasedOn(WorkCalendar base)
    
 DayDescriptorgetMonthDayDescriptor(long date)
    
public  StringgetName()
    
static  WorkingCalendargetNightShiftInstance()
    
final public  HashSetgetObjectsUsing()
    
public static  WorkingCalendargetStandardBasedInstance()
    
static  WorkingCalendargetStandardInstance()
    
public  longgetUniqueId()
    
public  WorkDaygetWeekDay(int dayNum)
    
 DayDescriptorgetWeekDayDescriptor(int dayNum)
    
public  WorkingCalendarintersectWith(WorkingCalendar other)
    
public  voidinvalidate()
    
public  booleanisBaseCalendar()
    
public  booleanisDirty()
    
public  booleanisInvalid()
    
 voidmakeDefaultDay(long date)
    
 voidmakeDefaultWeekDay(int dayNum)
    
public  WorkingCalendarmakeScratchCopy()
    
public  voidnotifyChanged()
    
public  voidremoveEmptyDays()
    
public  voidremoveException(WorkDay exceptionDay)
    
public  voidremoveObjectUsing(HasCalendar cal)
    
public  voidsetBaseCalendar(WorkCalendar baseCalendar)
    
 voidsetDayNonWorking(long date)
    
 voidsetDayWorkingHours(long date, WorkingHours workingHours)
    
public  voidsetDirty(boolean dirty)
    
final public  voidsetFixedId(int fixedId)
    
public  voidsetId(long id)
    
public  voidsetName(String name)
    
public  voidsetUniqueId(long id)
    
public  voidsetWeekDay(int dayNum, WorkDay day)
    
 voidsetWeekDayNonWorking(int dayNum)
    
 voidsetWeekDayWorkingHours(int dayNum, WorkingHours workingHours)
    
public  voidsetWeekDays(WorkDay day)
    
public  voidsetWeekends(WorkDay day)
    
public  StringtoString()
    

Field Detail
INVALID_INTERSECTION_CALENDAR
final public static WorkingCalendar INVALID_INTERSECTION_CALENDAR(Code)



serialVersionUID
final static long serialVersionUID(Code)



serializedName
String serializedName(Code)





Method Detail
add
public long add(long date, long duration, boolean useSooner)(Code)



addCalendarTime
public void addCalendarTime(long start, long end)(Code)



addObjectUsing
public void addObjectUsing(HasCalendar cal)(Code)



addOrReplaceException
public void addOrReplaceException(WorkDay exceptionDay)(Code)



adjustInsideCalendar
public long adjustInsideCalendar(long date, boolean useSooner)(Code)



assignFrom
public void assignFrom(WorkingCalendar source)(Code)



changeBaseCalendar
public void changeBaseCalendar(WorkCalendar baseCalendar) throws CircularDependencyException(Code)



clone
public Object clone() throws CloneNotSupportedException(Code)



compare
public long compare(long laterDate, long earlierDate, boolean elapsed)(Code)



compareTo
public int compareTo(Object arg0)(Code)



dependsOn
public boolean dependsOn(WorkCalendar cal)(Code)
Test for ciruclar dependency



dump
public String dump()(Code)



equals
public boolean equals(Object arg0)(Code)



extractCalendars
public static ArrayList extractCalendars(Collection collection)(Code)



extractCalendars
public static ArrayList extractCalendars(NodeHierarchy hierarchy)(Code)



get24HoursInstance
static WorkingCalendar get24HoursInstance()(Code)



getBaseCalendar
public WorkCalendar getBaseCalendar()(Code)
Returns the baseCalendar.



getCategory
public String getCategory()(Code)



getConcreteInstance
public CalendarDefinition getConcreteInstance()(Code)



getDefaultInstance
static WorkingCalendar getDefaultInstance()(Code)



getDerivedWeekDay
public WorkDay getDerivedWeekDay(int dayNum)(Code)



getExceptionDays
public WorkDay[] getExceptionDays()(Code)



getFixedId
final public int getFixedId()(Code)



getId
public long getId()(Code)



getInstance
public static WorkingCalendar getInstance()(Code)



getInstanceBasedOn
public static WorkingCalendar getInstanceBasedOn(WorkCalendar base)(Code)



getMonthDayDescriptor
DayDescriptor getMonthDayDescriptor(long date)(Code)



getName
public String getName()(Code)
Returns the name.



getNightShiftInstance
static WorkingCalendar getNightShiftInstance()(Code)



getObjectsUsing
final public HashSet getObjectsUsing()(Code)



getStandardBasedInstance
public static WorkingCalendar getStandardBasedInstance()(Code)



getStandardInstance
static WorkingCalendar getStandardInstance()(Code)



getUniqueId
public long getUniqueId()(Code)



getWeekDay
public WorkDay getWeekDay(int dayNum)(Code)

Parameters:
  dayNum -



getWeekDayDescriptor
DayDescriptor getWeekDayDescriptor(int dayNum)(Code)



intersectWith
public WorkingCalendar intersectWith(WorkingCalendar other) throws InvalidCalendarIntersectionException(Code)



invalidate
public void invalidate()(Code)



isBaseCalendar
public boolean isBaseCalendar()(Code)



isDirty
public boolean isDirty()(Code)



isInvalid
public boolean isInvalid()(Code)



makeDefaultDay
void makeDefaultDay(long date)(Code)



makeDefaultWeekDay
void makeDefaultWeekDay(int dayNum)(Code)



makeScratchCopy
public WorkingCalendar makeScratchCopy()(Code)



notifyChanged
public void notifyChanged()(Code)



removeEmptyDays
public void removeEmptyDays()(Code)



removeException
public void removeException(WorkDay exceptionDay)(Code)



removeObjectUsing
public void removeObjectUsing(HasCalendar cal)(Code)



setBaseCalendar
public void setBaseCalendar(WorkCalendar baseCalendar) throws CircularDependencyException(Code)

Parameters:
  baseCalendar - The baseCalendar to set.



setDayNonWorking
void setDayNonWorking(long date)(Code)



setDayWorkingHours
void setDayWorkingHours(long date, WorkingHours workingHours) throws WorkRangeException(Code)



setDirty
public void setDirty(boolean dirty)(Code)



setFixedId
final public void setFixedId(int fixedId)(Code)



setId
public void setId(long id)(Code)



setName
public void setName(String name)(Code)

Parameters:
  name - The name to set.



setUniqueId
public void setUniqueId(long id)(Code)



setWeekDay
public void setWeekDay(int dayNum, WorkDay day)(Code)

Parameters:
  dayNum -
Parameters:
  day -



setWeekDayNonWorking
void setWeekDayNonWorking(int dayNum)(Code)



setWeekDayWorkingHours
void setWeekDayWorkingHours(int dayNum, WorkingHours workingHours) throws WorkRangeException(Code)



setWeekDays
public void setWeekDays(WorkDay day)(Code)

Parameters:
  day -



setWeekends
public void setWeekends(WorkDay day)(Code)

Parameters:
  day -



toString
public String toString()(Code)



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.