src/Peach/DT/Datetime.php
protected function adjust(Map $fields)
    {
        parent::adjust($fields);
        $hourAd = $this->getHourAdjuster();
        $minAd  = $this->getMinuteAdjuster();
        $hour   = $fields->get(self::$HOUR);
        $min    = $fields->get(self::$MINUTE);
        
        if ($hour < 0) {
            $hourAd->moveDown($fields);
        } else if (23 < $hour) {
            $hourAd->moveUp($fields);
        } else if ($min < 0) {
            $minAd->moveDown($fields);
        } else if (59 < $min) {
            $minAd->moveUp($fields);
        } else {
            return;
        }
        
        $this->adjust($fields);
    }
protected function adjust(Map $fields)
    {
        parent::adjust($fields);
        $hourAd = $this->getHourAdjuster();
        $minAd  = $this->getMinuteAdjuster();
        $hour   = $fields->get(self::$HOUR);
        $min    = $fields->get(self::$MINUTE);
        
        if ($hour < 0) {
            $hourAd->moveDown($fields);
        } else if (23 < $hour) {
            $hourAd->moveUp($fields);
        } else if ($min < 0) {
            $minAd->moveDown($fields);
        } else if (59 < $min) {
            $minAd->moveUp($fields);
        } else {
            return;
        }
        
        $this->adjust($fields);
    }
時刻の不整合を調整します.
@ignore