????4??????????????

????Y1 =  1901??1999??2050??????????????????????1999????????3000??????????2999??
????Y2 = 1900??2048
????M1= 1??12
????M2= 4
????M3= 2
????D1=1??28
????D2=29
????D3=30
????D4=31
????H=0??11
????Min=0??59
????AP=am??pm

????5????????????

??????????.xls

????5.1 ???????

?????????????????????г????е?????????

???????з?????????????????????????????case?????????????????????????????case?????????????????????????£???????????????????????????????????????????????????case??

??????????????2??

????1??????????????????????з?????????????????????/??/???????????н???????????????е???????????Ч??case?????

????2??????????????????????????????????????????????????????case?????????????

????5.1 ?????

???????????????????22*2*2*2=176??case?????????л????Щcase????????????1999??????“???”????case??????1999??12??31??AM 00:00??????case????壬?????????????12??31????????case?????????PM 11??59?????????????2050??12??31??PM00??00???????????????????????£????????130??case?????

????6????????case

?????????????????????????????????????????W1~W7???????У???????????????case????????????case??

???????磺

????Case1

????Input??????2050??1??1??00??00 AM ?????1????

????Output?????????2050??1??1??00??01 AM????????

????PS:????????????case?????????????????case???????μ????????????????Щ??????????????????????case?????????????web???????????????case??????????

????С??

????1???????????????????????????????????????????????ж???????????????????

????2???????????????????????case?????????????????????????????e??????????????