transaction-date.js
function TransactionDate (dateString, format, options) {
  options = options || {}
  var parsed = parseDate(dateString, format)

  this.year = parsed.year
  this.month = parsed.month
  this.date = parsed.date

  if (!this.year && options.succeedingDate) {
    this.year = this.calculateYear(options.succeedingDate)
  }
}
function TransactionDate (dateString, format, options) {
  options = options || {}
  var parsed = parseDate(dateString, format)

  this.year = parsed.year
  this.month = parsed.month
  this.date = parsed.date

  if (!this.year && options.succeedingDate) {
    this.year = this.calculateYear(options.succeedingDate)
  }
}
function TransactionDate ( dateString , format , options ) { options = options || { } var parsed = parseDate ( dateString , format ) this . year = parsed . year this . month = parsed . month this . date = parsed . date if ( ! this . year && options . succeedingDate ) { this . year = this . calculateYear ( options . succeedingDate ) } }
Represents a transaction date
@constructor
@private
Represents a transaction date