Giter VIP home page Giter VIP logo

milesian-calendar's Introduction

Milesian-calendar

Calendar computations, display and conversion routines. Use julian and gregorian calendars, as well as the French republic calendar and the Milesian calendar.

JSDoc documentation and application are available from these GitHub pages.

References: L'Heure milésienne, by Louis-Aimé de Fouquières (Edilivre).

English readers are invited to read The Milesian calendar in short (4 pages) available in this repository.

This Html/Javascript application uses ES2016 modules. It requires an http server application.

Basic calendrical computations and calendar definitions

The submodule calendrical-javascript is used, see calendrical-javascript.

Complement around calendars

Other modules enable Date computation in non-CLDR calendars, or other informations.

  • Lunar data,
  • Eclipse prediction: "seasons" where eclipses may occur,
  • Season computations: solstices and equinoxes,
  • Conversion to and from day counters,
  • Year signature : John Conway's doomsday, Gregorian epact, Easter in Julian and Gregorian calendars.

Utilities for calendar and clock computations

  • calendarclock.js: handling a year clock.

Demo pages

  • Milesian clock: reading today's date in Milesian and other calendars all around the world, converting to other calendars and languages.
  • Light Milesian clock: a tiny version
  • load-modules-and-write: test pages for extension of JS tools.

milesian-calendar's People

Contributors

louis-aime avatar

Stargazers

 avatar  avatar

Forkers

aibolem

milesian-calendar's Issues

Create French Revolutionary calendar

French revolutionary:

  • 12 months with 30 days,
  • one "month" of 5 or 6 complementary days.

Cycles:

  • Franciade: 4 or 5 years cycle, the last year being a sextile year (366 days)
  • 33 year cycle: 7 4-years Franciade, 1 5-years Franciade.

To do:

  • Open branch
  • Extend CalendarCycleComputation in order to handle the 4 or 5 years Franciade
  • Construct the conversion routine
  • Add the line with French Rev calendar to standard layout pages

Package all calendrical base computations

Instead of "free" functions:

  • package in classes the base calendrical computations, with new names in order to help progressive transition (partially done for Temporal-experiences.
  • add to this basic package TZmsOffset
  • Try to extend Date object instead of adding properties - CustomDate (calendar)
  • Define pldr - Private Locale Data Register (keep ?)
  • Extend Intl.DateTimeFormat class using pldr, or pldr1, pldr2 etc.

Set data as distant resources: month names and error messages

Milesian month names of different languages are specified in an XML file that conforms to Unicode LDRL. Error messages need to be designed in different languages. As of now, month names and messages have been "isolated" in special Javascript files. Now we want to fix them in XML files that are handled as loadable files, in a different domain. This branch is for this tries.

setInterval in a site

Why the window.setInterval command inserted in clock display software does not work if inserted on a web site ?

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.