|
Navigation
- Home
- Community
- Development
- myReactOS
- Fundraiser 2012
Doxygen
- Main Page
- Alphabetical List
- Data Structures
- Directories
- File List
- Data Fields
- Globals
- Related Pages
Search
|
#include "config.h"
#include "wine/port.h"
#include <limits.h>
#include <math.h>
#include "jscript.h"
#include "wine/debug.h"
Go to the source code of this file.
Data Structures |
| struct | DateInstance |
Defines |
| #define | TIME_EPOCH ((ULONGLONG)(369 * 365 + 89) * 86400 * 1000) |
| #define | MS_PER_DAY 86400000 |
| #define | MS_PER_HOUR 3600000 |
| #define | MS_PER_MINUTE 60000 |
Functions |
| | WINE_DEFAULT_DEBUG_CHANNEL (jscript) |
| static DateInstance * | date_this (vdisp_t *jsthis) |
| static DOUBLE | day (DOUBLE time) |
| static DOUBLE | time_within_day (DOUBLE time) |
| static DOUBLE | days_in_year (DOUBLE year) |
| static DOUBLE | day_from_year (DOUBLE year) |
| static int | day_from_month (int month, int in_leap_year) |
| static DOUBLE | time_from_year (DOUBLE year) |
| static DOUBLE | year_from_time (DOUBLE time) |
| static int | in_leap_year (DOUBLE time) |
| static int | day_within_year (DOUBLE time) |
| static DOUBLE | month_from_time (DOUBLE time) |
| static DOUBLE | date_from_time (DOUBLE time) |
| static DOUBLE | week_day (DOUBLE time) |
| static DOUBLE | convert_time (int year, SYSTEMTIME st) |
| static DOUBLE | daylight_saving_ta (DOUBLE time, DateInstance *date) |
| static DOUBLE | local_time (DOUBLE time, DateInstance *date) |
| static DOUBLE | utc (DOUBLE time, DateInstance *date) |
| static DOUBLE | hour_from_time (DOUBLE time) |
| static DOUBLE | min_from_time (DOUBLE time) |
| static DOUBLE | sec_from_time (DOUBLE time) |
| static DOUBLE | ms_from_time (DOUBLE time) |
| static DOUBLE | make_time (DOUBLE hour, DOUBLE min, DOUBLE sec, DOUBLE ms) |
| static DOUBLE | make_day (DOUBLE year, DOUBLE month, DOUBLE day) |
| static DOUBLE | make_date (DOUBLE day, DOUBLE time) |
| static DOUBLE | time_clip (DOUBLE time) |
| static SYSTEMTIME | create_systemtime (DOUBLE time) |
| static HRESULT | date_to_string (DOUBLE time, BOOL show_offset, int offset, VARIANT *retv) |
| static HRESULT | dateobj_to_string (DateInstance *date, VARIANT *retv) |
| static HRESULT | Date_toString (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_toLocaleString (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_valueOf (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | create_utc_string (script_ctx_t *ctx, vdisp_t *jsthis, VARIANT *retv, jsexcept_t *ei) |
| static HRESULT | Date_toUTCString (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_toGMTString (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | dateobj_to_date_string (DateInstance *date, VARIANT *retv) |
| static HRESULT | Date_toDateString (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_toTimeString (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_toLocaleDateString (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_toLocaleTimeString (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getTime (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getFullYear (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getUTCFullYear (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getMonth (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getUTCMonth (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getDate (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getUTCDate (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getDay (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getUTCDay (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getHours (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getUTCHours (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getMinutes (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getUTCMinutes (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getSeconds (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getUTCSeconds (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getMilliseconds (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getUTCMilliseconds (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getTimezoneOffset (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setTime (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setMilliseconds (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setUTCMilliseconds (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setSeconds (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setUTCSeconds (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setMinutes (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setUTCMinutes (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setHours (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setUTCHours (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setDate (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setUTCDate (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setMonth (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setUTCMonth (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setFullYear (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_setUTCFullYear (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_getYear (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | Date_value (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) |
| static HRESULT | create_date (script_ctx_t *ctx, DispatchEx *object_prototype, DOUBLE time, DispatchEx **ret) |
| static HRESULT | date_parse (BSTR input, VARIANT *retv) |
| static HRESULT | DateConstr_parse (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp) |
| static HRESULT | date_utc (script_ctx_t *ctx, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei) |
| static HRESULT | DateConstr_UTC (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp) |
| static HRESULT | DateConstr_value (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp) |
| HRESULT | create_date_constr (script_ctx_t *ctx, DispatchEx *object_prototype, DispatchEx **ret) |
Variables |
| static const WCHAR | toStringW [] = {'t','o','S','t','r','i','n','g',0} |
| static const WCHAR | toLocaleStringW [] = {'t','o','L','o','c','a','l','e','S','t','r','i','n','g',0} |
| static const WCHAR | propertyIsEnumerableW [] |
| static const WCHAR | isPrototypeOfW [] = {'i','s','P','r','o','t','o','t','y','p','e','O','f',0} |
| static const WCHAR | valueOfW [] = {'v','a','l','u','e','O','f',0} |
| static const WCHAR | toUTCStringW [] = {'t','o','U','T','C','S','t','r','i','n','g',0} |
| static const WCHAR | toGMTStringW [] = {'t','o','G','M','T','S','t','r','i','n','g',0} |
| static const WCHAR | toDateStringW [] = {'t','o','D','a','t','e','S','t','r','i','n','g',0} |
| static const WCHAR | toTimeStringW [] = {'t','o','T','i','m','e','S','t','r','i','n','g',0} |
| static const WCHAR | toLocaleDateStringW [] = {'t','o','L','o','c','a','l','e','D','a','t','e','S','t','r','i','n','g',0} |
| static const WCHAR | toLocaleTimeStringW [] = {'t','o','L','o','c','a','l','e','T','i','m','e','S','t','r','i','n','g',0} |
| static const WCHAR | getTimeW [] = {'g','e','t','T','i','m','e',0} |
| static const WCHAR | getFullYearW [] = {'g','e','t','F','u','l','l','Y','e','a','r',0} |
| static const WCHAR | getUTCFullYearW [] = {'g','e','t','U','T','C','F','u','l','l','Y','e','a','r',0} |
| static const WCHAR | getMonthW [] = {'g','e','t','M','o','n','t','h',0} |
| static const WCHAR | getUTCMonthW [] = {'g','e','t','U','T','C','M','o','n','t','h',0} |
| static const WCHAR | getDateW [] = {'g','e','t','D','a','t','e',0} |
| static const WCHAR | getUTCDateW [] = {'g','e','t','U','T','C','D','a','t','e',0} |
| static const WCHAR | getDayW [] = {'g','e','t','D','a','y',0} |
| static const WCHAR | getUTCDayW [] = {'g','e','t','U','T','C','D','a','y',0} |
| static const WCHAR | getHoursW [] = {'g','e','t','H','o','u','r','s',0} |
| static const WCHAR | getUTCHoursW [] = {'g','e','t','U','T','C','H','o','u','r','s',0} |
| static const WCHAR | getMinutesW [] = {'g','e','t','M','i','n','u','t','e','s',0} |
| static const WCHAR | getUTCMinutesW [] = {'g','e','t','U','T','C','M','i','n','u','t','e','s',0} |
| static const WCHAR | getSecondsW [] = {'g','e','t','S','e','c','o','n','d','s',0} |
| static const WCHAR | getUTCSecondsW [] = {'g','e','t','U','T','C','S','e','c','o','n','d','s',0} |
| static const WCHAR | getMillisecondsW [] = {'g','e','t','M','i','l','l','i','s','e','c','o','n','d','s',0} |
| static const WCHAR | getUTCMillisecondsW [] = {'g','e','t','U','T','C','M','i','l','l','i','s','e','c','o','n','d','s',0} |
| static const WCHAR | getTimezoneOffsetW [] = {'g','e','t','T','i','m','e','z','o','n','e','O','f','f','s','e','t',0} |
| static const WCHAR | setTimeW [] = {'s','e','t','T','i','m','e',0} |
| static const WCHAR | setMillisecondsW [] = {'s','e','t','M','i','l','l','i','s','e','c','o','n','d','s',0} |
| static const WCHAR | setUTCMillisecondsW [] = {'s','e','t','U','T','C','M','i','l','l','i','s','e','c','o','n','d','s',0} |
| static const WCHAR | setSecondsW [] = {'s','e','t','S','e','c','o','n','d','s',0} |
| static const WCHAR | setUTCSecondsW [] = {'s','e','t','U','T','C','S','e','c','o','n','d','s',0} |
| static const WCHAR | setMinutesW [] = {'s','e','t','M','i','n','u','t','e','s',0} |
| static const WCHAR | setUTCMinutesW [] = {'s','e','t','U','T','C','M','i','n','u','t','e','s',0} |
| static const WCHAR | setHoursW [] = {'s','e','t','H','o','u','r','s',0} |
| static const WCHAR | setUTCHoursW [] = {'s','e','t','U','T','C','H','o','u','r','s',0} |
| static const WCHAR | setDateW [] = {'s','e','t','D','a','t','e',0} |
| static const WCHAR | setUTCDateW [] = {'s','e','t','U','T','C','D','a','t','e',0} |
| static const WCHAR | setMonthW [] = {'s','e','t','M','o','n','t','h',0} |
| static const WCHAR | setUTCMonthW [] = {'s','e','t','U','T','C','M','o','n','t','h',0} |
| static const WCHAR | setFullYearW [] = {'s','e','t','F','u','l','l','Y','e','a','r',0} |
| static const WCHAR | setUTCFullYearW [] = {'s','e','t','U','T','C','F','u','l','l','Y','e','a','r',0} |
| static const WCHAR | getYearW [] = {'g','e','t','Y','e','a','r',0} |
| static const WCHAR | UTCW [] = {'U','T','C',0} |
| static const WCHAR | parseW [] = {'p','a','r','s','e',0} |
| static const builtin_prop_t | Date_props [] |
| static const builtin_info_t | Date_info |
| static const builtin_prop_t | DateConstr_props [] |
| static const builtin_info_t | DateConstr_info |
Generated on Thu May 24 2012 04:45:47 for ReactOS by
1.7.6.1
|