Creates a new TimePicker.
The desired custom 12h format. For example "%l:%M %p".
The desired custom 24h format. For example "%H:%M".