Interface NewTimespan

interface NewTimespan {
    commentary?: string;
    end?: string;
    start: string;
    timezone?: string;
    timezoneName?: string;
    type: string;
    userId: string;
}

Properties

commentary?: string

optional comments on timespans

end?: string

end of the timespan. Format: "2018-01-01T12:59:57.000Z" stored in UTC

start: string

start of the timespan. Format: "2018-01-01T12:53:59.000Z" stored in UTC

timezone?: string

+0000 UTC offset of the timespan in format (+/-)0200. Example: +0200 or -0300

timezoneName?: string

GMT Name of the timezone the timespan should be associated with

type: string

defines the type of the timespan. Can be work or break

userId: string

who the timespan is assigned to