question: private PacScriptMethods buildParser ( ) { PacScriptMethods result = new PacScriptMethods ( ) ; Calendar cal = Calendar . getInstance ( ) ; cal . set ( Calendar . YEAR , 1994 ) ; cal . set ( Calendar . MONTH , Calendar . DECEMBER ) ; cal . set ( Calendar . DAY_OF_MONTH , 15 ) ; cal . set ( Calendar . HOUR_OF_DAY , 12 ) ; cal . set ( Calendar . MINUTE , 00 ) ; cal . set ( Calendar . SECOND , 00 ) ; cal . set ( Calendar . MILLISECOND , 00 ) ; result . setCurrentTime ( cal ) ; return result ; }
target:  Get a methods implementation with a calendar for date and time base tests set to a hardcoded data. Current date for all tests is: 15. December 1994 12:00.00 its a Thursday