This is a library implementing portions of Martin Folwers temporal patterns discussed in this paper: http://martinfowler.com/apsupp/recurring.pdf. It allows for simple implementations of complex recurrence events. This library can be used for calculating recurrance of appointments or events, for testing membership into a complex recurrance range, etc. See example link below to see it in action.
It is located in the Dart Pub Directory as dartemporal, or can be found on GitHub at https://github.com/iburton/dartemporal.
All classes in this library inherit from the TExpression class. They implement the following methods:
An example case can be found here: https://github.com/iburton/DarTemporal/wiki/At-a-glance
The API documentation can be found here: http://iburton.github.io/dartemporal/api/index.html
No custom exceptions are currently defined.
So you think you found a bug? You are probably right! Please log an issue @ https://github.com/iburton/dartemporal/issues?state=open If you want to provide a test case we can add to the test suite to capture it next time, all the beter. We are using drone.io to continually test the library, the current build test status is above.
All roadmap items are tracked via github issues @ https://github.com/iburton/dartemporal/issues?state=open
To date, all code has been written by Ira Burton (iburton), a very rookie Dart programmer. If something is not working correctly, it is likely because he made some sort of dunderheaded mistake. Please feel free to thoroughly bash him for all mistakes so he can learn the right way to do it. There is no pride of authorship here.
Add this to your package's pubspec.yaml file:
dependencies: dartemporal: "^0.0.5"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.0.5||Jun 12, 2016|
|0.0.4||Jun 3, 2014|
|0.0.3||Jul 18, 2013|
|0.0.2||Jul 16, 2013|
|0.0.1||Jul 4, 2013|
We analyzed this package, and provided a score, details, and suggestions below.
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, web, other
No platform restriction found in primary library
Changelog entries help clients to follow the progress in your code.
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use