Updated Period implementation to better handle time zones, added period
duration, added tests.