{"repo":"rickar/cal","free":true,"listed":false,"github":"https://github.com/rickar/cal","clone":"git clone https://github.com/rickar/cal.git","description":"Go (golang) calendar library for dealing with holidays and work days","language":"Go","stars":404,"topics":["go","holidays","calendar","golang","business-calendar","working-hours","calendar-library"],"license":"BSD-3-Clause","category":"productivity","readme_excerpt":"cal/v2: Go (golang) calendar library for dealing with holidays and work days This library augments the Go time package to provide easy handling of holidays and work days (business days). Holiday instances are calculated from either builtin or user-created functions to support exact days, floating days such as the 3rd Monday of the month, yearly offsets such as the 100th day of the year, or more complex rules such as offsets from Easter. Holidays may provide separate actual and observed dates for cases where holidays are celebrated on an alternate day if they fall on a specific day of the week (usually weekends). The Calendar type provides the basic functionality for creating a yearly calendar with holidays. BusinessCalendar adds additional functionality for calculating workdays and hours worked. Differences from v1 For v2, much of the functionality of this library was rewritten to address shortcomings of the v1 releases. This version provides the following benefits over v1: Holidays Observation rules are tied to individual holidays rather than a per-calendar setting Name, description, and observance type fields added Starting, ending, and exception year options Holiday definitions are separated into subpackages by ISO code (no longer necessary to bundle all holidays in the final binary) Calendar Separation of business specific functionality into BusinessCalendar Name and description fields added Support for time.Location matching to ease use of multiple Calendars BusinessCale","default_branch":null,"files":null,"tree":[],"storefront":"/r/rickar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rickar/cal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}