Jquantlib:327

From MediaWiki

(Redirected from OSGi - Calendar package)
Jump to: navigation, search

This article opens a discussion about how to implement calendars and related concepts in an OSGi container.


Objectives

We aim to provide interfaces for dates and calendars which cope with certain requirements:

  • keep legacy Date and Calendar implementations inherited from QuantLib, given that JQuantLib depends on this legacy code.
  • provide convenience interfaces to Jdk Date/Calendar, Joda Date/Calendar


Current status

  1. Richard produced screenshots from C++ sources: date.cpp and date.hpp
  2. Zahid is studying C++ sources and comparing against our implementation


Aspects to consider

  • Change evaluation date must trigger the notification mechanism which uses the Observer/Observable pattern;
  • Performance


Our homework

  • Determine which packages and/or classes must be implemented
  • Design all OSGi interfaces which must be defined


How to contribute to this discussion

Please click on tab discussion, on the top of this page and let's discuss how it should be implemented. Your thoughts are welcome :)


Thanks


RichardGomes 22:30, 23 April 2009 (UTC)