Changes for page BusinessCalendar
on 2011/10/17 09:25
on 2011/10/17 15:26
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- 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 hol liday21 +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)