TimeTypes: Generalize 'trim' to use arbitrary Representable