Interface Timespan

interface Timespan {
    _id: string;
    commentary: string;
    effectiveEnd: string;
    effectiveStart: string;
    end: string;
    start: string;
    timezone: string;
    timezoneName: string;
    type: string;
    userId: string;
}

Hierarchy

Properties

_id: string

unique identifier

commentary: string

optional comments on timespans

effectiveEnd: string

end truncated to the minute for in-app calculations

effectiveStart: string

start truncated to the minute for in-app calculations

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