/** * Create a new instance for a given Julian Day Number. * * @param integer $aJulianDayNumber * @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 * @since 5/2/05 * @static */ static function withJulianDayNumber($aJulianDayNumber, $class = 'TimeStamp') { $obj = parent::withJulianDayNumber($aJulianDayNumber, $class); return $obj; }
/** * Create a new instance for a given Julian Day Number. * * @param integer $aJulianDayNumber * @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 * @since 5/2/05 * @static */ static function withJulianDayNumber($aJulianDayNumber, $class = 'StorableTime') { return parent::withJulianDayNumber($aJulianDayNumber, $class); }