From version 1.1
edited by Pierre Dubois
on 2011/10/17 09:25
To version 2.1
edited by Pierre Dubois
on 2011/10/17 15:26
Change comment: Imported from XAR

Summary

Details

Icon Page properties
Content
... ... @@ -6,7 +6,7 @@
6 6  
7 7  
8 8  return: gets the next possible starting time for a task, as the next
9 - possible laborable time wich could be the same moment or after.
9 + possible laborable time which could be the same moment or after.
10 10  === getDuration(start, end, business) ===
11 11  Get the duration between two dates
12 12  * business: true if workings hours, hollidays and week ends should be taken in account
... ... @@ -14,13 +14,11 @@
14 14  === getEndDate(start, length) ===
15 15  Returns a start date plus an amount of work.
16 16  
17 -=== getDayStart(dt) ===
18 -Returns the earliest possible start date ignoring the current time of day
19 - value. This method is usefull for use in UI date calculations.
17 +=== getDayStart(date) ===
18 +Returns the earliest possible start date ignoring the current time of day.
20 20  
21 -return: then {@link #getNextPossibleStart(Date)} is used.
22 22  === isHoliday(date) ===
23 -Check if a date is a holliday
21 +Check if a date is a holiday
24 24  
25 25  === isLaborable(date) ===
26 -Check if a date is a labor day
24 +Check if a date is a laborable day (non holiday and has open hours)
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation