In this section, we will create some components that help us keep track of work efforts. Primarily, we will use this to manage efforts on tasks, but this could be applied to any part of our application where we need to keep track of time.
Efforts in our context always consist of two things:
- Estimated duration: This is the duration that is initially estimated for the task
- Effective duration: This is the duration of time that is spent on a given task
For time durations, we assume some time units and rules that will simplify the processing of time and align to some working standards. The goal here is not to provide razor sharp time management but something that is accurate enough to bring value. For this purpose, we define the following working time units:
- Minute: One minute is a regular 60 seconds
- Hour: One hour always represents 60 minutes
- Day: One day represents...