X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/834bee1cf2c5bd122b3e941c70b5c2f03ee80a27..cfc437132a27bd1a3f4c8a16622af8a9ed0e8be1:/lib/MLIB/Date.php diff --git a/lib/MLIB/Date.php b/lib/MLIB/Date.php index 8f026a5..1d221d8 100644 --- a/lib/MLIB/Date.php +++ b/lib/MLIB/Date.php @@ -1,16 +1,15 @@ day, $this->month, $this->year, '%Y-%m-%d')); } /** * Obtiene la fecha de fin del próximo mes. * - * @return MECON_Date. + * @return MLIB_Date. * @access public */ function getEndOfNextMonth() { - return new MECON_Date(Date_Calc::endOfNextMonth( + return new MLIB_Date(Date_Calc::endOfNextMonth( $this->day, $this->month, $this->year, '%Y-%m-%d')); } /** * Obtiene la fecha de inicio del mes anterior. * - * @return MECON_Date. + * @return MLIB_Date. * @access public */ function getBeginOfPrevMonth() { - return new MECON_Date(Date_Calc::beginOfPrevMonth( + return new MLIB_Date(Date_Calc::beginOfPrevMonth( $this->day, $this->month, $this->year, '%Y-%m-%d')); } /** * Obtiene la fecha de fin del mes anterior. * - * @return MECON_Date. + * @return MLIB_Date. * @access public */ function getEndOfPrevMonth() { - return new MECON_Date(Date_Calc::endOfPrevMonth( + return new MLIB_Date(Date_Calc::endOfPrevMonth( $this->day, $this->month, $this->year, '%Y-%m-%d')); }