/** * Create a new instance. * * @param integer $anIntYear * @param integer $anIntDayOfYear * @param integer $anIntHour * @param integer $anIntMinute * @param integer $anIntSecond * @param object Duration $aDurationOffset * @param optional string $class DO NOT USE OUTSIDE OF PACKAGE. * This parameter is used to get around the limitations of not being * able to find the class of the object that recieved the initial * method call. * @return object TimeStamp * @access public * @static * @since 5/4/05 */ static function withYearDayHourMinuteSecondOffset($anIntYear, $anIntDayOfYear, $anIntHour, $anIntMinute, $anIntSecond, $aDurationOffset, $class = 'TimeStamp') { $obj = parent::withYearDayHourMinuteSecondOffset($anIntYear, $anIntDayOfYear, $anIntHour, $anIntMinute, $anIntSecond, $aDurationOffset, $class); return $obj; }
/** * Create a new instance. * * @param integer $anIntYear * @param integer $anIntDayOfYear * @param integer $anIntHour * @param integer $anIntMinute * @param integer $anIntSecond * @param object Duration $aDurationOffset * @param optional string $class DO NOT USE OUTSIDE OF PACKAGE. * This parameter is used to get around the limitations of not being * able to find the class of the object that recieved the initial * method call. * @return object StorableTime * @access public * @static * @since 5/4/05 */ static function withYearDayHourMinuteSecondOffset($anIntYear, $anIntDayOfYear, $anIntHour, $anIntMinute, $anIntSecond, $aDurationOffset, $class = 'StorableTime') { return parent::withYearDayHourMinuteSecondOffset($anIntYear, $anIntDayOfYear, $anIntHour, $anIntMinute, $anIntSecond, $aDurationOffset, $class); }