ative time spans). * * @param object Date_Span $time Time span to subtract. * * @access public */ function subtract($time) { $sub = $this->toSeconds() - $time->toSeconds(); if ($sub < 0) { $this->setFromSeconds(0); } else { $this->setFromSeconds($sub); } } // }}} // {{{ equal() /** * Tells if time span is equal to $time. * * @param object Date_Span $time Time span to compare to. * * @return bool True if the time spans are equal. * * @access public */ function equal($time) { return $this->toSeconds() == $time->toSeconds(); } // }}} // {{{ greaterEqual() /** * Tells if this time span is greater or equal than $time. * * @param object Date_Span $time Time span to compare to. * * @return bool True if this time span is greater or equal than $time. * * @access public */ function greaterEqual($time) { return $this->toSeconds() >= $time->toSeconds(); } // }}} // {{{ lowerEqual() /** * Tells if this time span is lower or equal than $time. * * @param object Date_Span $time Time span to compare to. * * @return bool True if this time span is lower or equal than $time. * * @access public */ function lowerEqual($time) { return $this->toSeconds() <= $time->toSeconds(); } // }}} // {{{ greater() /** * Tells if this time span is greater than $time. * * @param object Date_Span $time Time span to compare to. * * @return bool True if this time span is greater than $time. * * @access public */ function greater($time) { return $this->toSeconds() > $time->toSeconds(); } // }}} // {{{ lower() /** * Tells if this time span is lower than $time. * * @param object Date_Span $time Time span to compare to. * * @return bool True if this time span is lower than $time. * * @access public */ function lower($time) { return $this->toSeconds() < $time->toSeconds(); } // }}} // {{{ compare() /** * Compares two time spans. * * Compares two time spans. Suitable for use in sorting functions. * * @param object Date_Span $time1 The first time span. * @param object Date_Span $time2 The second time span. * * @return int 0 if the time spans are equal, -1 if time1 is lower * than time2, 1 if time1 is greater than time2. * * @static * @access public */ function compare($time1, $time2) { if ($time1->equal($time2)) { return 0; } elseif ($time1->lower($time2)) { return -1; } else { return 1; } } // }}} // {{{ isEmpty() /** * Tells if the time span is empty (zero length). * * @return bool True is it's empty. */ function isEmpty() { return !$this->day && !$this->hour && !$this->minute && !$this->second; } // }}} // {{{ setDefaultInputFormat() /** * Set the default input format. * * @param mixed $format New default input format. * * @return mixed Previous default input format. * * @static */ function setDefaultInputFormat($format) { $old = $GLOBALS['_DATE_SPAN_INPUT_FORMAT']; $GLOBALS['_DATE_SPAN_INPUT_FORMAT'] = $format; return $old; } // }}} // {{{ getDefaultInputFormat() /** * Get the default input format. * * @return mixed Default input format. * * @static */ function getDefaultInputFormat() { return $GLOBALS['_DATE_SPAN_INPUT_FORMAT']; } // }}} // {{{ setDefaultFormat() /** * Set the default format. * * @param mixed $format New default format. * * @return mixed Previous default format. * * @static */ function setDefaultFormat($format) { $old = $GLOBALS['_DATE_SPAN_FORMAT']; $GLOBALS['_DATE_SPAN_FORMAT'] = $format; return $old; } // }}} // {{{ getDefaultFormat() /** * Get the default format. * * @return mixed Default format. * * @static */ function getDefaultFormat() { return $GLOBALS['_DATE_SPAN_FORMAT']; } // }}} // {{{ __clone() /** * Returns a copy of the object (workarround for PHP5 forward compatibility). * * @return object Date_Span Copy of the object. */ function __clone() { $c = get_class($this); $s = new $c; $s->day = $this->day; $s->hour = $this->hour; $s->minute = $this->minute; $s->second = $this->second; return $s; } // }}} } // }}} /* * Local variables: * mode: php * tab-width: 4 * c-basic-offset: 4 * c-hanging-comment-ender-p: nil * End: */ ?>n-line/kanji-colorati.html">Kanji colorati
Símbolos Kanji oro

FAQ
SCUOLA

1) ¿Qué es Reiki?

¿Cómo funciona y funciona Reiki?

Reiki energía ¿Qué es?

¿Quién puede venir y hacer el Reiki?

¿Cuál es la historia de Reiki?

Vivir Reiki

El aprendizaje de Reiki

La activación a distancia son eficaces?

Reiki, Preguntas y Respuestas

Reiki Enlaces de Recursos de Internet

Introducción a Reiki Slide Show!

Aprenda a decir que los Principios de Reiki en japonés

¿Cómo funciona la Energía

Los canales de energía

La energía curativa


 

reiki

 

El Goka:
Los cinco 'Principios', 'preceptos' o 'City' de Reiki Usui.


El método secreto de invitar a las bendiciones, la medicina espiritual de muchas enfermedades (no Shofuku HIHO, Manby No Rei Yaku) es:

Sólo por hoy (Kyo Dake * @author Pierre-Alain Joye * @copyright 1997-2006 Baba Buehler, Pierre-Alain Joye * @license http://www.opensource.org/licenses/bsd-license.php * BSD License * @version CVS: $Id: TimeZone.php,v 1.14 2006/11/22 01:03:12 firman Exp $ * @link http://pear.php.net/package/Date */ // }}} // {{{ Class: Date_TimeZone /** * TimeZone representation class, along with time zone information data * * The default timezone is set from the first valid timezone id found * in one of the following places, in this order: * + global $_DATE_TIMEZONE_DEFAULT * + system environment variable PHP_TZ * + system environment variable TZ * + the result of date('T') * * If no valid timezone id is found, the default timezone is set to 'UTC'. * You may also manually set the default timezone by passing a valid id to * Date_TimeZone::setDefault(). * * This class includes time zone data (from zoneinfo) in the form of a * global array, $_DATE_TIMEZONE_DATA. * * @author Baba Buehler * @copyright 1997-2006 Baba Buehler, Pierre-Alain Joye * @license http://www.opensource.org/licenses/bsd-license.php * BSD License * @version Release: 1.4.7 * @link http://pear.php.net/package/Date */ class Date_TimeZone { // {{{ Properties /** * Time Zone ID of this time zone * @var string */ var $id; /** * Long Name of this time zone (ie Central Standard Time) * @var string */ var $longname; /** * Short Name of this time zone (ie CST) * @var string */ var $shortname; /** * true if this time zone observes daylight savings time * @var boolean */ var $hasdst; /** * DST Long Name of this time zone * @var string */ var $dstlongname; /** * DST Short Name of this timezone * @var string */ var $dstshortname; /** * offset, in milliseconds, of this timezone * @var int */ var $offset; /** * System Default Time Zone * @var object Date_TimeZone */ var $default; // }}} // {{{ Constructor /** * Constructor * * Creates a new Date::TimeZone object, representing the time zone * specified in $id. If the supplied ID is invalid, the created * time zone is UTC. * * @access public * @param string $id the time zone id * @return object Date_TimeZone the new Date_TimeZone object */ function Date_TimeZone($id) { $_DATE_TIMEZONE_DATA =& $GLOBALS['_DATE_TIMEZONE_DATA']; if(Date_TimeZone::isValidID($id)) { $this->id = $id; $this->longname = $_DATE_TIMEZONE_DATA[$id]['longname']; $this->shortname = $_DATE_TIMEZONE_DATA[$id]['shortname']; $this->offset = $_DATE_TIMEZONE_DATA[$id]['offset']; if($_DATE_TIMEZONE_DATA[$id]['hasdst']) { $this->hasdst = true; $this->dstlongname = $_DATE_TIMEZONE_DATA[$id]['dstlongname']; $this->dstshortname = $_DATE_TIMEZONE_DATA[$id]['dstshortname']; } else { $this->hasdst = false; $this->dstlongname = $this->longname; $this->dstshortname = $this->shortname; } } else { $this->id = 'UTC'; $this->longname = $_DATE_TIMEZONE_DATA[$this->id]['longname']; $this->shortname = $_DATE_TIMEZONE_DATA[$this->id]['shortname']; $this->hasdst = $_DATE_TIMEZONE_DATA[$this->id]['hasdst']; $this->offset = $_DATE_TIMEZONE_DATA[$this->id]['offset']; } } // }}} // {{{ getDefault() /** * Return a TimeZone object representing the system default time zone * * Return a TimeZone object representing the system default time zone, * which is initialized during the loading of TimeZone.php. * * @access public * @return object Date_TimeZone the default time zone */ function getDefault() { return new Date_TimeZone($GLOBALS['_DATE_TIMEZONE_DEFAULT']); } // }}} // {{{ setDefault() /** * Sets the system default time zone to the time zone in $id * * Sets the system default time zone to the time zone in $id * * @access public * @param string $id the time zone id to use */ function setDefault($id) { if(Date_TimeZone::isValidID($id)) { $GLOBALS['_DATE_TIMEZONE_DEFAULT'] = $id; } } // }}} // {{{ isValidID() /** * Tests if given id is represented in the $_DATE_TIMEZONE_DATA time zone data * * Tests if given id is represented in the $_DATE_TIMEZONE_DATA time zone data * * @access public * @param string $id the id to test * @return boolean true if the supplied ID is valid */ function isValidID($id) { if(isset($GLOBALS['_DATE_TIMEZONE_DATA'][$id])) { return true; } else { return false; } } // }}} // {{{ isEqual() /** * Is this time zone equal to another * * Tests to see if this time zone is equal (ids match) * to a given Date_TimeZone object. * * @access public * @param object Date_TimeZone $tz the timezone to test * @return boolean true if this time zone is equal to the supplied time zone */ function isEqual($tz) { if(strcasecmp($this->id, $tz->id) == 0) { return true; } else { return false; } } // }}} // {{{ isEquivalent() /** * Is this time zone equivalent to another * * Tests to see if this time zone is equivalent to * a given time zone object. Equivalence in this context * is defined by the two time zones having an equal raw * offset and an equal setting of "hasdst". This is not true * equivalence, as the two time zones may have different rules * for the observance of DST, but this implementation does not * know DST rules. * * @access public * @param object Date_TimeZone $tz the timezone object to test * @return boolean true if this time zone is equivalent to the supplied time zone */ function isEquivalent($tz) { if($this->offset == $tz->offset && $this->hasdst == $tz->hasdst) { return true; } else { return false; } } // }}} // {{{ hasDaylightTime() /** * Ret