ticket:10017: Added functions to test to create sample TimePeriod objects.

git-svn-id: http://source.icu-project.org/repos/icu/icu/branches/tkeep@33509 251d0590-4201-4cf1-90de-194747b24ca1