... string in universal hyphen time format left parenthesis HH colon MM colon SS right parenthesis. Line 28. public string to universal string left parenthesis right parenthesis. Line 29. left brace. Line 30. return string period format left parenthesis double quote percent sign 02 d colon percent sign 02 d colon percent sign 02 d double quote comma hour comma minute comma second right parenthesis semicolon. Line 31. right brace forward slash forward slash end method to universal string. Line 32. Blank. Line 33. forward slash forward slash convert to string in standard hyphen time format left parenthesis H colon M M colon S S AM or PM right parenthesis. Line 34. public string to string left parenthesis right parenthesis. Line 35. left brace. Line 36

Get Android How to Program, 3/e now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.