TO BE PRECISED

calc_duration(begin, end = NULL, cal_length = getOption("ava")[["cal_length"]])

Arguments

begin

numeric vector.

end

numeric vector, default to NULL.

cal_length

numeric, number of weeks in calendar. Default to getOption("ava")[["cal_length"]].

Value

numeric vector, taking into case begin > end and inverse.