Userdates are a resource that aggregate all events related to the working schedule of an employee. There are two types of events: (1) those related to the theoretical working hours of the employee (workcycle, holidays, workcycleExceptions) and (2) those related to the actual working hours of the employee (leaves, time-entries).

A Userdate aggregates:

  • theoretical hours indicated by the employee's workcycle.
  • overrides to the workcycle indicated by the holidays calendar given to the employee.
  • overrides to the workcycle indicated by workcycleExceptions.
  • actual hours from Timmi Timesheet.
  • leaves taken in Timmi Absences.

About durations

The interpretation of durations depends on the time unit applicable to the User.

For instance, '12:00:00' means:

  • A half-day (or 0.5 d) in days unit.
  • 12 hours in hours or time units.

The applicable unit is set on the User's WorkCycle.

dtt
string

Theoretical working time. The work duration the User should comply with on this day.

drt
string

Actual working time. The actual time the User spent working on this day.

draj
string

Leave duration.

isHoliday
boolean

Is this day a holiday in the User's holidays calendar?

isWeeklyRest
boolean

Is this the weekly rest day (most often, Sundays) in the User's workcycle?

items
object[]

All events for this day and User.

am
object

Description of the first half of the day.

pm
object

Description of the second half of this day.