kjs Library API Documentation

KJS::DateProtoFuncImp Class Reference

Inheritance diagram for KJS::DateProtoFuncImp:

Inheritance graph
[legend]
Collaboration diagram for KJS::DateProtoFuncImp:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  ToString, ToDateString, ToTimeString, ToLocaleString,
  ToLocaleDateString, ToLocaleTimeString, ValueOf, GetTime,
  GetFullYear, GetMonth, GetDate, GetDay,
  GetHours, GetMinutes, GetSeconds, GetMilliSeconds,
  GetTimezoneOffset, SetTime, SetMilliSeconds, SetSeconds,
  SetMinutes, SetHours, SetDate, SetMonth,
  SetFullYear, ToUTCString, GetYear, SetYear,
  ToGMTString
}

Public Member Functions

 DateProtoFuncImp (ExecState *exec, int i, int len)
virtual bool implementsCall () const
virtual Value call (ExecState *exec, Object &thisObj, const List &args)
Completion execute (const List &)

Detailed Description

Definition at line 58 of file date_object.h.


Member Function Documentation

Value DateProtoFuncImp::call ExecState exec,
Object thisObj,
const List args
[virtual]
 

Implementation of the [[Call]] internal property.

See also:
Object::call()

Reimplemented from KJS::ObjectImp.

Definition at line 356 of file date_object.cpp.

References KJS::CString::c_str(), KJS::Interpreter::compatMode(), KJS::Error::create(), KJS::Object::inherits(), KJS::Object::internalValue(), KJS::ExecState::interpreter(), KJS::isNaN(), KJS::makeTime(), KJS::NaN, KJS::roundValue(), KJS::ExecState::setException(), KJS::Object::setInternalValue(), and KJS::Value::toNumber().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kjs Library Version 3.4.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Oct 9 07:58:10 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003