function TimeUnit(params) {
    Transform.call(this, null, params);
  }
Discretize dates to specific time units.
@constructor
@param {object} params - The parameters for this operator.
@param {function(object): *} params.field - The data field containing date/time values.