Skip to content
alchemycs edited this page Apr 17, 2011 · 1 revision

#TODO

The following items have been identified as "todo" items:

  • Create better implementation of TCDate::unixtojd()

  • Refactor TCDate to 'flyweight' (Completed, 14th April 2011)

  • Create iterator/collection for ITCEvent

  • Create iterator/collection for ITCScheduledEvent

  • Refactor internal storage of ITCScheduledEvent in TCSchedule

  • Refactor TCUnionTemporalExpression constructor to accept multiple ITCTemporalExpressions (Completed, 15th April 2011)

  • Refactor TCIntersectionTemporalExpression constructor to accept multiple ITCTemporalExpressions (Completed, 15th April 2011)

  • Add __toString() to Temporal Expressions

  • Review and refactor Temporal Expressions to ensure they have getter methods

  • Create Temporal Expression for "...every nth day..." TCRepeatingDayTemporalExpression

  • Create Temporal Expression for "...every nth week..." TCRepeatingWeekTemporalExpression

  • Create Temporal Expression for "...every nth month..." TCRepeatingMonthTemporalExpression

  • Create Temporal Expression for "...every nth year..." TCRepeatingYearTemporalExpression

  • Refactor test cases: assertions should be of the form assert(expected, actual) but we have mainly used assert(actual, expected)

  • Consider providing a context for the temporal expressions. This will help in the future building a language parser. Also at the moment we get into an endless loop if have a temporal expression that is a cyclic graph!

  • Consider refactoring classes to be immutable and extending to provide mutable counterparts

  • Build a sample playground to allow people to try out the usability on the web

  • Build examples and tutorials

Clone this wiki locally