Java Doc for Recurrence.java in  » Portal » liferay-portal-4.4.2 » com » liferay » util » cal » 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 » Portal » liferay portal 4.4.2 » com.liferay.util.cal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.liferay.util.cal.Recurrence

Recurrence
public class Recurrence implements Serializable(Code)
View Source
author:
   Jonathan Lennox


Field Summary
final public static  intDAILY
    
final public static  intMONTHLY
    
final public static  intNO_RECURRENCE
    
final public static  intWEEKLY
    
final public static  intYEARLY
    
protected  DayAndPosition[]byDay
    
protected  int[]byMonth
    
protected  int[]byMonthDay
    
protected  int[]byWeekNo
    
protected  int[]byYearDay
    
protected  CalendardtStart
    
protected  Durationduration
    
protected  intfrequency
    
protected  intinterval
    
protected  intoccurrence
    
protected  Calendaruntil
    

Constructor Summary
public  Recurrence()
    
public  Recurrence(Calendar start, Duration dur)
    
public  Recurrence(Calendar start, Duration dur, int freq)
    

Method Summary
protected  booleancandidateIsInRecurrence(Calendar candidate, boolean debug)
    
public  DayAndPosition[]getByDay()
    
public  int[]getByMonth()
    
public  int[]getByMonthDay()
    
public  int[]getByWeekNo()
    
public  int[]getByYearDay()
    
public  CalendargetCandidateStartTime(Calendar current)
    
protected static  longgetDayNumber(Calendar cal)
    
public  CalendargetDtEnd()
    
public  CalendargetDtStart()
    
public  DurationgetDuration()
    
public  intgetFrequency()
    
public  intgetInterval()
    
protected  intgetMinimumInterval()
    
protected static  longgetMonthNumber(Calendar cal)
    
public  intgetOccurrence()
    
protected  intgetRecurrenceCount(Calendar candidate)
    
public  CalendargetUntil()
    
protected static  longgetWeekNumber(Calendar cal)
    
public  intgetWeekStart()
    
public  booleanisInRecurrence(Calendar current)
    
public  booleanisInRecurrence(Calendar current, boolean debug)
    
protected  booleanmatchesByDay(Calendar candidate)
    
protected static  booleanmatchesByField(int[] array, int field, Calendar candidate, boolean allowNegative)
    
protected  booleanmatchesByMonth(Calendar candidate)
    
protected  booleanmatchesByMonthDay(Calendar candidate)
    
protected  booleanmatchesByWeekNo(Calendar candidate)
    
protected  booleanmatchesByYearDay(Calendar candidate)
    
protected  booleanmatchesIndividualByDay(Calendar candidate, DayAndPosition pos)
    
protected static  voidreduce_constant_length_field(int field, Calendar start, Calendar candidate)
    
protected static  voidreduce_day_of_month(Calendar start, Calendar candidate)
    
protected static  voidreduce_day_of_year(Calendar start, Calendar candidate)
    
public  voidsetByDay(DayAndPosition[] b)
    
public  voidsetByMonth(int[] b)
    
public  voidsetByMonthDay(int[] b)
    
public  voidsetByWeekNo(int[] b)
    
public  voidsetByYearDay(int[] b)
    
public  voidsetDtEnd(Calendar end)
    
public  voidsetDtStart(Calendar start)
    
public  voidsetDuration(Duration d)
    
public  voidsetFrequency(int freq)
    
public  voidsetInterval(int intr)
    
public  voidsetOccurrence(int occur)
    
public  voidsetUntil(Calendar u)
    
public  voidsetWeekStart(int weekstart)
    
public  StringtoString()
    

Field Detail
DAILY
final public static int DAILY(Code)
Field DAILY



MONTHLY
final public static int MONTHLY(Code)
Field MONTHLY



NO_RECURRENCE
final public static int NO_RECURRENCE(Code)
Field NO_RECURRENCE



WEEKLY
final public static int WEEKLY(Code)
Field WEEKLY



YEARLY
final public static int YEARLY(Code)
Field YEARLY



byDay
protected DayAndPosition[] byDay(Code)
Field byDay



byMonth
protected int[] byMonth(Code)
Field byMonth



byMonthDay
protected int[] byMonthDay(Code)
Field byMonthDay



byWeekNo
protected int[] byWeekNo(Code)
Field byWeekNo



byYearDay
protected int[] byYearDay(Code)
Field byYearDay



dtStart
protected Calendar dtStart(Code)
Field dtStart



duration
protected Duration duration(Code)
Field duration



frequency
protected int frequency(Code)
Field frequency



interval
protected int interval(Code)
Field interval



occurrence
protected int occurrence(Code)
Field interval



until
protected Calendar until(Code)
Field until




Constructor Detail
Recurrence
public Recurrence()(Code)
Constructor Recurrence



Recurrence
public Recurrence(Calendar start, Duration dur)(Code)
Constructor Recurrence
Parameters:
  start -
Parameters:
  dur -



Recurrence
public Recurrence(Calendar start, Duration dur, int freq)(Code)
Constructor Recurrence
Parameters:
  start -
Parameters:
  dur -
Parameters:
  freq -




Method Detail
candidateIsInRecurrence
protected boolean candidateIsInRecurrence(Calendar candidate, boolean debug)(Code)
Method candidateIsInRecurrence
Parameters:
  candidate -
Parameters:
  debug - boolean



getByDay
public DayAndPosition[] getByDay()(Code)
Method getByDay DayAndPosition[]



getByMonth
public int[] getByMonth()(Code)
Method getByMonth int[]



getByMonthDay
public int[] getByMonthDay()(Code)
Method getByMonthDay int[]



getByWeekNo
public int[] getByWeekNo()(Code)
Method getByWeekNo int[]



getByYearDay
public int[] getByYearDay()(Code)
Method getByYearDay int[]



getCandidateStartTime
public Calendar getCandidateStartTime(Calendar current)(Code)
Method getCandidateStartTime
Parameters:
  current - Calendar



getDayNumber
protected static long getDayNumber(Calendar cal)(Code)
Method getDayNumber
Parameters:
  cal - long



getDtEnd
public Calendar getDtEnd()(Code)
Method getDtEnd Calendar



getDtStart
public Calendar getDtStart()(Code)
Method getDtStart Calendar



getDuration
public Duration getDuration()(Code)
Method getDuration Duration



getFrequency
public int getFrequency()(Code)
Method getFrequency int



getInterval
public int getInterval()(Code)
Method getInterval int



getMinimumInterval
protected int getMinimumInterval()(Code)
Method getMinimumInterval int



getMonthNumber
protected static long getMonthNumber(Calendar cal)(Code)
Method getMonthNumber
Parameters:
  cal - long



getOccurrence
public int getOccurrence()(Code)
Method getOccurrence int



getRecurrenceCount
protected int getRecurrenceCount(Calendar candidate)(Code)
Method getRecurrenceCount
Parameters:
  candidate - int



getUntil
public Calendar getUntil()(Code)
Method getUntil Calendar



getWeekNumber
protected static long getWeekNumber(Calendar cal)(Code)
Method getWeekNumber
Parameters:
  cal - long



getWeekStart
public int getWeekStart()(Code)
Method getWeekStart int



isInRecurrence
public boolean isInRecurrence(Calendar current)(Code)
Method isInRecurrence
Parameters:
  current - boolean



isInRecurrence
public boolean isInRecurrence(Calendar current, boolean debug)(Code)
Method isInRecurrence
Parameters:
  current -
Parameters:
  debug - boolean



matchesByDay
protected boolean matchesByDay(Calendar candidate)(Code)
Method matchesByDay
Parameters:
  candidate - boolean



matchesByField
protected static boolean matchesByField(int[] array, int field, Calendar candidate, boolean allowNegative)(Code)
Method matchesByField
Parameters:
  array -
Parameters:
  field -
Parameters:
  candidate -
Parameters:
  allowNegative - boolean



matchesByMonth
protected boolean matchesByMonth(Calendar candidate)(Code)
Method matchesByMonth
Parameters:
  candidate - boolean



matchesByMonthDay
protected boolean matchesByMonthDay(Calendar candidate)(Code)
Method matchesByMonthDay
Parameters:
  candidate - boolean



matchesByWeekNo
protected boolean matchesByWeekNo(Calendar candidate)(Code)
Method matchesByWeekNo
Parameters:
  candidate - boolean



matchesByYearDay
protected boolean matchesByYearDay(Calendar candidate)(Code)
Method matchesByYearDay
Parameters:
  candidate - boolean



matchesIndividualByDay
protected boolean matchesIndividualByDay(Calendar candidate, DayAndPosition pos)(Code)
Method matchesIndividualByDay
Parameters:
  candidate -
Parameters:
  pos - boolean



reduce_constant_length_field
protected static void reduce_constant_length_field(int field, Calendar start, Calendar candidate)(Code)
Method reduce_constant_length_field
Parameters:
  field -
Parameters:
  start -
Parameters:
  candidate -



reduce_day_of_month
protected static void reduce_day_of_month(Calendar start, Calendar candidate)(Code)
Method reduce_day_of_month
Parameters:
  start -
Parameters:
  candidate -



reduce_day_of_year
protected static void reduce_day_of_year(Calendar start, Calendar candidate)(Code)
Method reduce_day_of_year
Parameters:
  start -
Parameters:
  candidate -



setByDay
public void setByDay(DayAndPosition[] b)(Code)
Method setByDay
Parameters:
  b -



setByMonth
public void setByMonth(int[] b)(Code)
Method setByMonth
Parameters:
  b -



setByMonthDay
public void setByMonthDay(int[] b)(Code)
Method setByMonthDay
Parameters:
  b -



setByWeekNo
public void setByWeekNo(int[] b)(Code)
Method setByWeekNo
Parameters:
  b -



setByYearDay
public void setByYearDay(int[] b)(Code)
Method setByYearDay
Parameters:
  b -



setDtEnd
public void setDtEnd(Calendar end)(Code)
Method setDtEnd
Parameters:
  end -



setDtStart
public void setDtStart(Calendar start)(Code)
Method setDtStart
Parameters:
  start -



setDuration
public void setDuration(Duration d)(Code)
Method setDuration
Parameters:
  d -



setFrequency
public void setFrequency(int freq)(Code)
Method setFrequency
Parameters:
  freq -



setInterval
public void setInterval(int intr)(Code)
Method setInterval
Parameters:
  intr -



setOccurrence
public void setOccurrence(int occur)(Code)
Method setOccurrence
Parameters:
  occur -



setUntil
public void setUntil(Calendar u)(Code)
Method setUntil
Parameters:
  u -



setWeekStart
public void setWeekStart(int weekstart)(Code)
Method setWeekStart
Parameters:
  weekstart -



toString
public String toString()(Code)
Method toString String



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.