Lines Matching refs:show2
602 decode 'C' = show2 (year `quot` 100) -- century
605 decode 'd' = show2 day -- day of the month
607 decode 'H' = show2 hour -- hours, 24-hour clock, padded
608 decode 'I' = show2 (to12 hour) -- hours, 12-hour clock
612 decode 'M' = show2 minute -- minutes
613 decode 'm' = show2 (fromEnum mon+1) -- numeric month
620 decode 'S' = show2 sec -- seconds
623 decode 'U' = show2 ((yday + 7 - fromEnum wday) `div` 7) -- week number, starting on Sunday.
630 in show2 (if days >= 4 then
635 show2 ((yday + 7 - if fromEnum wday > 0 then
641 decode 'y' = show2 (year `rem` 100) -- year, within century.
647 show2, show2', show3 :: Int -> String function
648 show2 x function
658 show3 x = show (x `quot` 100) ++ show2 (x `rem` 100)
690 'C' -> show2 (year `quot` 100)
692 'd' -> show2 day
694 'H' -> show2 hour
695 'I' -> show2 (to12 hour)
698 'M' -> show2 minute
699 'm' -> show2 (fromEnum month + 1)
706 'S' -> show2 sec
707 's' -> show2 sec -- Implementation-dependent, sez the lib doc..
711 'y' -> show2 (year `rem` 100)