This is a strange switch. Clean it up by pulling `time.getText().replace(":", "").trim()` out into a variable