This commit simply moves methods from the resource mixin to the calendar, so it can be use without having a resource. Indeed, in some case, we want to know the duration (in days and hours) according to a working calendar without any resource attached (typically services using a working calendar). Task-37561