This is a _very_ basic implementation of a calendar that you might use in a fancy date picker.  It does _not_ take into account the myriad of different date systems in the world, but it wouldn't be hard to change it to meet your needs.  Consider it a starting point for your own Calendar if you need one.
