/ofxTime

A collection of utilities for dealing with Time in openFrameworks.

Primary LanguageC++MIT LicenseMIT

ofxTime

Description

A collection of utilities for dealing with Time using the Poco Time classes.

Features

Features include:

  • Rounding and interpolating dates.
  • Deal with date ranges.
  • Deal with periods, instants and intervals.
  • Date math.

Screenshot

An example of interpolation.

Screenshot

An example of rounding.

Getting Started

To get started, generate the example project files using the openFrameworks Project Generator.

Documentation

API documentation can be found here.

Requirements

  • ofxPoco (included with openFrameworks)

Build Status

Linux, macOS Build Status

Visual Studio, MSYS Build status

Compatibility

The stable branch of this repository is meant to be compatible with the openFrameworks stable branch, which corresponds to the latest official openFrameworks release.

The master branch of this repository is meant to be compatible with the openFrameworks master branch.

Some past openFrameworks releases are supported via tagged versions, but only stable and master branches are actively supported.

Versioning

This project uses Semantic Versioning, although strict adherence will only come into effect at version 1.0.0.

Licensing

See LICENSE.md

Contributing

Check out the Help Wanted tag in the issues section for specific ideas or propose your own new ideas.

Pull Requests are always welcome, so if you make any improvements please feel free to float them back upstream :)

  1. Fork this repository.
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin my-new-feature).
  5. Create new Pull Request.