Regex based TimeUtils class.
Less OOP method, lots of copy pasted code.