Package checkiday allows you to make use of the world's most complete holiday listing website, checkiday.com. There are at least 4300 unique holidays on the site that checkiday has verified for authenticity. This Go package is not endorsed by checkiday.com and serves as a simple wrapper on their API.
Package holiday 通过初始化周末休息日, 更新中国法定节假日生成一个可查询的放假安排时间表
Package cal provides extensions to the time package for handling holidays and work days (business days). Work days are defined as Monday through Friday on dates that are not holidays or the alternate observation dates for holidays. As in the time package, all calculations assume a Gregorian calendar.
Package trivial_tickets is a basic implementation of a support ticket system in Go. Customers of a company can easily create tickets with the form on the home page and display the created tickets over a static permalink. The author of a ticket is informed about every action the ticket experiences by an email written to his email address. Registered users are the assignees of the system and work on the customer's tickets. They can log in and off the system and assign a ticket to themselves or to other users. An assignee can only edit information on those ticket that he is assigned to. He can release his tickets, add comments to it or change the status of the ticket. It is also possible to merge two tickets to one, but only if the customer and the assignee of both tickets match. Additionally, an assignee may indicate that he is on holiday. In this case, tickets cannot be assigned to him. The ticket system offers an E-Mail Recipience and Dispatch API for a mailing service to interact with the system. A request with the properties `from` (the sender's e-mail address, i.e the customer), `subject` (the ticket's subject) and `message` (the actual message) set can be delivered to the server in order to create new tickets by mail. If the subject contains the ticket id of an already existing ticket in a special markup the e-mail creates a new answer to this ticket instead of a new ticket. Likewise, the mailing service can fetch e-mails created by the server on special events (such as creation of a new ticket or update of a ticket). The server then sends back all e-mails remaining to be sent to the customer. After the service has sent the received e-mails it can confirm the successful sending of the concerned e-mails by sending a verification request to the server. This is done for each e-mail by applying the id of the certain mail to the request. If the server can ensure that the respective e-mail exists the mail can be safely deleted and the verification result is returned to the service. More information on the Mail API and its functionality can be found in the Mail API Reference on https://mortenterhart.github.io/trivial-tickets/wiki/Mail-API-Reference. The repository contains a command-line tool which serves as simple example for an external mailing service. Although it cannot send or receive genuine e-mails it can communicate with the mail API of the server. The user can write really simple e-mails with e-mail address, subject and message to be sent to the server. Alternatively, he may retrieve all server-side created e-mails that are print to the console then. All fetched e-mails are verified against the server who can delete the mails then safely. Consult the User Manual for more information (currently only available in German) or alternatively checkout our Wiki Pages on https://mortenterhart.github.io/trivial-tickets/wiki. The User Manual is available at https://mortenterhart.github.io/trivial-tickets/docs/Ticketsystem_User_Manual_DE.pdf.
Package cal provides extensions to the time package for handling holidays and work days (business days). Work days are defined as Monday through Friday on dates that are not holidays or the alternate observation dates for holidays. As in the time package, all calculations assume a Gregorian calendar.
Package cal provides extensions to the time package for handling holidays and work days (business days). Work days are defined as Monday through Friday on dates that are not holidays or the alternate observation dates for holidays. As in the time package, all calculations assume a Gregorian calendar.
Package cal provides extensions to the time package for handling holidays and work days (business days). Work days are defined as Monday through Friday on dates that are not holidays or the alternate observation dates for holidays. As in the time package, all calculations assume a Gregorian calendar.
Package cal provides extensions to the time package for handling holidays and work days (business days). Work days are defined as Monday through Friday on dates that are not holidays or the alternate observation dates for holidays. As in the time package, all calculations assume a Gregorian calendar.
Package cal provides extensions to the time package for handling holidays and work days (business days). Work days are defined as Monday through Friday on dates that are not holidays or the alternate observation dates for holidays. As in the time package, all calculations assume a Gregorian calendar. (c) 2014 Rick Arnold. Licensed under the BSD license (see LICENSE).
Package cal provides extensions to the time package for handling holidays and work days (business days). Work days are defined as Monday through Friday on dates that are not holidays or the alternate observation dates for holidays. As in the time package, all calculations assume a Gregorian calendar.
Package cal provides extensions to the time package for handling holidays and work days (business days). Work days are defined as Monday through Friday on dates that are not holidays or the alternate observation dates for holidays. As in the time package, all calculations assume a Gregorian calendar.
Package gotime adds some handy functionality to the Golang time package. One of the main functions of this library is parsing ISO-8601 dates that do not include the full RFC3339 format. For example, something like time.Time.UnmarshalJSON("2018-07-14") will fail, whereas something like time.Time.UnmarshalJSON("2018-04-14 08:23:35Z") will succeed. The format constraints this library uses came from https://en.wikipedia.org/wiki/ISO_8601 on 2018-195T10-05. The functions in equality.go ({Date,Time}Equals* and SameTime) can be used to compare part of a time.Time, for example to see if the dates are the same irrespective of the time zone or if just the time portion is the same down to the second. search.go contains functions for finding the first, last, and nth occurrence of a particular day in a month. These are handy, for example, when figuring out the date of a holiday such as Thanksgiving in the United States. The word "format" is used herein to mean "a valid first argument to time.Parse()". The Get{Date,Time}Format functions interrogate their string parameter, which should be an ISO-8601-compatible string, to determine the proper parsing format if possible. The difference between the Fast and Safely functions is that the former assume the input is valid while the latter will error if not. The Fast functions are fast because they use as few rudimentary string functions as possible to narrow down the possibilities and do no verification of the source value. The Safely functions are safer because they use regular expressions and determine the type using the "if it quacks like a duck" method, however they would not prevent you from passing a time like 99:00 Be sure to pass the entire timestamp to each function. The DateParser and TimeParser variables are set to the Fast functions by default, and this library uses those variables internally to determine which set of functions to use.
Package cal provides extensions to the time package for handling holidays and work days (business days). Work days are defined as Monday through Friday on dates that are not holidays or the alternate observation dates for holidays. As in the time package, all calculations assume a Gregorian calendar.
Package cal provides extensions to the time package for handling holidays, work days (business days), and working hours. Standard holidays for countries are found in subpackages by ISO code. Work days and working hours can be customized per calendar to match the needs of the business. As in the time package, all calculations assume a Gregorian calendar.
finds hostels and waterfalls in the UK which are close to each other.
Package cal provides extensions to the time package for handling holidays and work days (business days). Work days are defined as Monday through Friday on dates that are not holidays or the alternate observation dates for holidays. As in the time package, all calculations assume a Gregorian calendar.
Package cal provides extensions to the time package for handling holidays, work days (business days), and working hours. Standard holidays for countries are found in subpackages by ISO code. Work days and working hours can be customized per calendar to match the needs of the business. As in the time package, all calculations assume a Gregorian calendar.
Package cal provides extensions to the time package for handling holidays, work days (business days), and working hours. Standard holidays for countries are found in subpackages by ISO code. Work days and working hours can be customized per calendar to match the needs of the business. As in the time package, all calculations assume a Gregorian calendar.
Package cal provides extensions to the time package for handling holidays and work days (business days). Work days are defined as Monday through Friday on dates that are not holidays or the alternate observation dates for holidays. As in the time package, all calculations assume a Gregorian calendar.