<?php /* vim: set binary expandtab tabstop=4 shiftwidth=4 textwidth=80:
-------------------------------------------------------------------------------
- Ministerio de Economía
- meconlib
+ mlib
-------------------------------------------------------------------------------
-This file is part of meconlib.
+This file is part of mlib.
-meconlib is free software; you can redistribute it and/or modify it under
+mlib is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
-meconlib is distributed in the hope that it will be useful, but WITHOUT
+mlib is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
*
* @access public
*/
-class MECON_Date extends Date {
+class MLIB_Date extends Date {
/**
* Obtiene la fecha de inicio del próximo mes.
*
- * @return MECON_Date.
+ * @return MLIB_Date.
* @access public
*/
function getBeginOfNextMonth()
{
- return new MECON_Date(Date_Calc::beginOfNextMonth(
+ return new MLIB_Date(Date_Calc::beginOfNextMonth(
$this->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'));
}