GithubHelp home page GithubHelp logo

sheql's Introduction

alt text

#Tools

  1. Javascript
  2. Nodejs/Express
  3. Karma Unit testing - TDD

#Features

  1. Far More powerful than google cal.
  2. Schemaless Storage.
  3. Single update to repeated events.
  4. Platform independent.
  5. ZERO infrastructure.

Demo

#Rules

ELEMENTS y, m, w, d

CLASSES

y.leap

m.jan, .feb ...., .31d, 30d, 28d, 29d

w

d.sat.mon .10, .11, .23

precedence: LEFT -> RIGHT

Selectors for Date manipulation

Yearly repeated on the 45th day

y d:n[45] _1700

Monthly 1st sat

m d.sat:n[1] _2100

Monthly 2nd sat

m d.sat:n[2] _1600

Monthly second day if is a sat

m d:n[2].sat _2100

monthly last sat

m d.sat:l[1] _1800

monthly second last sat

m d.sat:l[2] _1800

monthly all sat

m d.sat _1400

every 3rd months 2nd sat

m:n[3n] d.sat:n[2] _1300

every 1st of every month

m d:n[1] _1800

Every alternate month second week, first mondays

m:n[2n] w:n[2] d.mon _1700

Every alternate month second monday

m:n[2n] d.mon:n[2]

23rd of each month

m d:n[23] _1800

100th day of each year

y d:n[100] _1500

14th Feb every yr

y m:n[1] d:n[14]
y m.feb d:n[14]

Every 20th day

d:n[20n]

every month 12th day

m d:n[12]

every mar-dec weekdays

y m:n[-n+3] d:n[n+1]:n[-n+1]

every month first sat after 12th

m d.sat:n[n+12, 1]    /*NOT SUPPORTED AS OF NOW*/

every month alternate days after 12th

m d:n[n+12, 2n]   /*NOT SUPPORTED AS OF NOW*/

4th april 2016

_040420160800;        /*NOT SUPPORTED AS OF NOW*/

31st day is tuesday

m d:n[31].tue

Every month's third sat is 18th

m d.sat:n[3].18

sat of a month if it is 10th

m d.sat.10

15 days from the third mon of a month

m d.mon:n[3]:n[n+1,n+15](2) /*NOT SUPPORTED AS OF NOW*/
m d.mon:n[3]~d:n[n+15](3)   /*NOT SUPPORTED*/

All days in a month except fridays

m d!fri  /*NOT SUPPORTED AS OF NOW*/

sheql's People

Contributors

tusharmath avatar atsiddiqui avatar

Watchers

James Cloos avatar Philippe Kouao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.