lightspark::Date Class Reference

#include <toplevel.h>

Inherits lightspark::ASObject.

Collaboration diagram for lightspark::Date:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ASFUNCTION (_constructor)
 ASFUNCTION (getTimezoneOffset)
 ASFUNCTION (getTime)
 ASFUNCTION (getFullYear)
 ASFUNCTION (getHours)
 ASFUNCTION (getMinutes)
 ASFUNCTION (valueOf)
tiny_string toString (bool debugMsg=false)
tiny_string toString_priv () const

Static Public Member Functions

static void sinit (Class_base *)
static void buildTraits (ASObject *o)

Private Member Functions

 CLASSBUILDABLE (Date)
int32_t toInt ()
 Date ()
bool getIsLeapYear (int year)
int getDaysInMonth (int month, bool isLeapYear)

Private Attributes

int year
int month
int date
int hour
int minute
int second
int millisecond

Detailed Description

Definition at line 697 of file toplevel.h.


Constructor & Destructor Documentation

Date::Date (  )  [private]

Definition at line 1421 of file toplevel.cpp.


Member Function Documentation

lightspark::Date::ASFUNCTION ( valueOf   ) 
lightspark::Date::ASFUNCTION ( getMinutes   ) 
lightspark::Date::ASFUNCTION ( getHours   ) 
lightspark::Date::ASFUNCTION ( getFullYear   ) 
lightspark::Date::ASFUNCTION ( getTime   ) 
lightspark::Date::ASFUNCTION ( getTimezoneOffset   ) 
lightspark::Date::ASFUNCTION ( _constructor   ) 

Reimplemented from lightspark::ASObject.

void Date::buildTraits ( ASObject o  )  [static]

Reimplemented from lightspark::ASObject.

Definition at line 1438 of file toplevel.cpp.

lightspark::Date::CLASSBUILDABLE ( Date   )  [private]
int Date::getDaysInMonth ( int  month,
bool  isLeapYear 
) [private]

Definition at line 1496 of file toplevel.cpp.

bool Date::getIsLeapYear ( int  year  )  [private]

Definition at line 1491 of file toplevel.cpp.

void Date::sinit ( Class_base c  )  [static]

Reimplemented from lightspark::ASObject.

Definition at line 1425 of file toplevel.cpp.

int Date::toInt (  )  [private, virtual]

Reimplemented from lightspark::ASObject.

Definition at line 1529 of file toplevel.cpp.

tiny_string Date::toString ( bool  debugMsg = false  )  [virtual]

Reimplemented from lightspark::ASObject.

Definition at line 1550 of file toplevel.cpp.

tiny_string Date::toString_priv (  )  const

Definition at line 1556 of file toplevel.cpp.


Member Data Documentation

int lightspark::Date::date [private]

Definition at line 703 of file toplevel.h.

int lightspark::Date::hour [private]

Definition at line 704 of file toplevel.h.

Definition at line 707 of file toplevel.h.

int lightspark::Date::minute [private]

Definition at line 705 of file toplevel.h.

int lightspark::Date::month [private]

Definition at line 702 of file toplevel.h.

int lightspark::Date::second [private]

Definition at line 706 of file toplevel.h.

int lightspark::Date::year [private]

Definition at line 701 of file toplevel.h.


The documentation for this class was generated from the following files:
Generated on Tue Aug 24 19:50:36 2010 for Lightspark by  doxygen 1.6.3