Sym454

Implements the Symmetry454 calendar in Dart.

Features

  • Multiple leap cycles
    • 52/293 (default) Northward Equinox
    • 69/389 North Solstice
    • 97/400 ISO (compatible with Gregorian)
  • Similar(ish) interface to DateTime

Getting started

Add dependency in pubspec.yaml:

dependencies:
  sym454: ^0.1.0

Basic usage

import "packages:sym454/sym454.dart";

void main() {
  Sym454Date date = Sym454Date.fromDateTime(DateTime.now());
  print("${date.dayName()}, ${date.day} ${date.monthName()} ${date.year}");
}

Libraries

sym454
Sym454Date