Refactoring #2 clean up time - BBK-PiJ-2014-66/cw4 GitHub Wiki

Sunday 15 March 2015

Conclusion

  • have Calendar/Date stuff mixed into ContactManager and getting into the save-state-file
  • should separate it out into a package of its own.
  • Q: what to call it? timetools seems a nice name. But need to think about package namespace issue? See Refactoring #3 package namespace, api version and since
  • The time offset stuff could usefully go into a singleton object using the enum syntax as this comes up with nicely readable code call it NowOrPretend with a single instance TIME