Skip to content

Possibility to add interval time to a workday #74

@EsterfanoLopes

Description

@EsterfanoLopes

I was reading the docs and searching in the code if is possible to add an interval time in a Workday.

Like:

c := cal.NewBusinessCalendar()
c.SetWorkHours(time.Hour*9, time.Hour*18)

But from 12 am to 1pm there's an interval where shouldn't be considered as work hours.

How I can do that? If it's not possible, I'll leave as a idea for the future.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions