mish33 / go-calendar Goto Github PK
View Code? Open in Web Editor NEWDate manipulation functions in Go language.
Date manipulation functions in Go language.
Date manipulation functions. // IsLeap returns true if year is a leap year. func IsLeap(year int64) bool // NextDay advance Time structure to the next day. func NextDay(t *time.Time) // PrevDay adjust Time structure one day behind. func PrevDay(t *time.Time) // NextMonth advance Time structure one month ahead. func NextMonth(t *time.Time) // PrevMonth adjust Time structure one month behind. func PrevMonth(t *time.Time) // Weekday returns day of week number. // // Use Sakamoto's method (valid for dates in Oct 15, 1582 - Dec 31, 9999) // (see http://en.wikipedia.org/wiki/Calculating_the_day_of_the_week ) // // Args: // year (e.g., 1988) // month (1-12) // day of the month (1-31) // Returns: // 0 = Sunday, 1 = Monday, ... // func Weekday(year, month, day int) int
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.