Calendars are used in many places across AX for signifying working times. When you setup a new resource then you will have to associate a calendar to the resource if you want to allow master scheduling to run and find the resource capacity. This is a quick walk through of creating a new calendar and the relationship to the resource.
Cheers
Lachlan