Exemplo n.º 1
0
 /**
  * @return string
  */
 public function getTimeInMonths()
 {
     return $this->time->toMonths();
 }
Exemplo n.º 2
0
 /**
  * @return string
  */
 public function getAnnuityPeriodLengthInMonths()
 {
     return $this->annuityPeriodLength->toMonths();
 }
Exemplo n.º 3
0
 /**
  * @return string [Length of each of the debt's compounding periods in months as a string]
  */
 public function getDebtPeriodLengthInMonths()
 {
     return $this->debtPeriodLength->toMonths();
 }
Exemplo n.º 4
0
 public function testMonthsFromTimeSpan()
 {
     $this->assertEquals(21, $this->timeSpan->toMonths());
 }