Factory method for the hours TextField.