code: function ToDate(amount, unit, method) {
    this.amount = amount;
    this.method = method;
    this.unit = unit;
  }
docs: To Date.
  
  @param {Number} amount
  @param {String} unit [optional]
  @param {String} method [optional]
  @constructor