solvas-jsduck 6.0.0.beta.1888
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/COPYING +674 -0
- data/README.md +115 -0
- data/bin/solvas-jsduck +27 -0
- data/js-classes/Array.js +1054 -0
- data/js-classes/Boolean.js +110 -0
- data/js-classes/Date.js +1022 -0
- data/js-classes/Function.js +336 -0
- data/js-classes/Number.js +308 -0
- data/js-classes/Object.js +1042 -0
- data/js-classes/RegExp.js +415 -0
- data/js-classes/String.js +1052 -0
- data/lib/jsduck/aggregator.rb +200 -0
- data/lib/jsduck/app.rb +63 -0
- data/lib/jsduck/assets.rb +54 -0
- data/lib/jsduck/base_type.rb +53 -0
- data/lib/jsduck/batch_parser.rb +46 -0
- data/lib/jsduck/batch_processor.rb +83 -0
- data/lib/jsduck/cache.rb +137 -0
- data/lib/jsduck/categories/auto.rb +83 -0
- data/lib/jsduck/categories/class_name.rb +39 -0
- data/lib/jsduck/categories/factory.rb +75 -0
- data/lib/jsduck/categories/file.rb +69 -0
- data/lib/jsduck/class.rb +218 -0
- data/lib/jsduck/class_doc_expander.rb +132 -0
- data/lib/jsduck/class_name.rb +23 -0
- data/lib/jsduck/class_writer.rb +53 -0
- data/lib/jsduck/columns.rb +56 -0
- data/lib/jsduck/css/parser.rb +90 -0
- data/lib/jsduck/css/type.rb +57 -0
- data/lib/jsduck/doc/comment.rb +40 -0
- data/lib/jsduck/doc/delimited_parser.rb +105 -0
- data/lib/jsduck/doc/map.rb +23 -0
- data/lib/jsduck/doc/parser.rb +135 -0
- data/lib/jsduck/doc/processor.rb +52 -0
- data/lib/jsduck/doc/scanner.rb +83 -0
- data/lib/jsduck/doc/standard_tag_parser.rb +125 -0
- data/lib/jsduck/doc/subproperties.rb +71 -0
- data/lib/jsduck/examples.rb +63 -0
- data/lib/jsduck/export_writer.rb +63 -0
- data/lib/jsduck/exporter/app.rb +80 -0
- data/lib/jsduck/exporter/examples.rb +58 -0
- data/lib/jsduck/exporter/full.rb +60 -0
- data/lib/jsduck/external_classes.rb +362 -0
- data/lib/jsduck/format/batch.rb +58 -0
- data/lib/jsduck/format/class.rb +62 -0
- data/lib/jsduck/format/doc.rb +172 -0
- data/lib/jsduck/format/html_stack.rb +108 -0
- data/lib/jsduck/format/shortener.rb +55 -0
- data/lib/jsduck/format/subproperties.rb +64 -0
- data/lib/jsduck/grouped_asset.rb +59 -0
- data/lib/jsduck/guide_anchors.rb +39 -0
- data/lib/jsduck/guide_toc.rb +68 -0
- data/lib/jsduck/guide_toc_entry.rb +54 -0
- data/lib/jsduck/guide_writer.rb +58 -0
- data/lib/jsduck/guides.rb +188 -0
- data/lib/jsduck/img/dir.rb +94 -0
- data/lib/jsduck/img/dir_set.rb +39 -0
- data/lib/jsduck/img/writer.rb +23 -0
- data/lib/jsduck/inline/auto_link.rb +106 -0
- data/lib/jsduck/inline/example.rb +44 -0
- data/lib/jsduck/inline/img.rb +63 -0
- data/lib/jsduck/inline/link.rb +100 -0
- data/lib/jsduck/inline/link_renderer.rb +70 -0
- data/lib/jsduck/inline/video.rb +61 -0
- data/lib/jsduck/inline_examples.rb +94 -0
- data/lib/jsduck/js/associator.rb +224 -0
- data/lib/jsduck/js/ast.rb +69 -0
- data/lib/jsduck/js/class.rb +248 -0
- data/lib/jsduck/js/evaluator.rb +70 -0
- data/lib/jsduck/js/event.rb +34 -0
- data/lib/jsduck/js/ext_define.rb +46 -0
- data/lib/jsduck/js/ext_patterns.rb +75 -0
- data/lib/jsduck/js/fires.rb +42 -0
- data/lib/jsduck/js/listener.rb +35 -0
- data/lib/jsduck/js/method.rb +99 -0
- data/lib/jsduck/js/method_calls.rb +40 -0
- data/lib/jsduck/js/node.rb +267 -0
- data/lib/jsduck/js/node_array.rb +36 -0
- data/lib/jsduck/js/parser.rb +44 -0
- data/lib/jsduck/js/property.rb +81 -0
- data/lib/jsduck/js/returns.rb +211 -0
- data/lib/jsduck/js/rkelly_adapter.rb +587 -0
- data/lib/jsduck/js/scoped_traverser.rb +42 -0
- data/lib/jsduck/js/serializer.rb +263 -0
- data/lib/jsduck/js/utils.rb +21 -0
- data/lib/jsduck/logger.rb +186 -0
- data/lib/jsduck/member_registry.rb +41 -0
- data/lib/jsduck/members_index.rb +141 -0
- data/lib/jsduck/merger.rb +83 -0
- data/lib/jsduck/news.rb +149 -0
- data/lib/jsduck/options/config.rb +35 -0
- data/lib/jsduck/options/helpful_parser.rb +111 -0
- data/lib/jsduck/options/input_files.rb +60 -0
- data/lib/jsduck/options/jsb.rb +25 -0
- data/lib/jsduck/options/parser.rb +968 -0
- data/lib/jsduck/options/processor.rb +47 -0
- data/lib/jsduck/options/record.rb +51 -0
- data/lib/jsduck/output_dir.rb +29 -0
- data/lib/jsduck/params_merger.rb +47 -0
- data/lib/jsduck/parser.rb +76 -0
- data/lib/jsduck/process/accessors.rb +152 -0
- data/lib/jsduck/process/circular_deps.rb +58 -0
- data/lib/jsduck/process/components.rb +19 -0
- data/lib/jsduck/process/enums.rb +90 -0
- data/lib/jsduck/process/ext4_events.rb +46 -0
- data/lib/jsduck/process/fires.rb +71 -0
- data/lib/jsduck/process/global_members.rb +35 -0
- data/lib/jsduck/process/ignored_classes.rb +16 -0
- data/lib/jsduck/process/importer.rb +75 -0
- data/lib/jsduck/process/inherit_class.rb +58 -0
- data/lib/jsduck/process/inherit_doc.rb +32 -0
- data/lib/jsduck/process/inherit_members.rb +259 -0
- data/lib/jsduck/process/lint.rb +118 -0
- data/lib/jsduck/process/no_doc.rb +50 -0
- data/lib/jsduck/process/overrides.rb +99 -0
- data/lib/jsduck/process/return_values.rb +72 -0
- data/lib/jsduck/process/versions.rb +137 -0
- data/lib/jsduck/relations.rb +95 -0
- data/lib/jsduck/render/class.rb +152 -0
- data/lib/jsduck/render/sidebar.rb +97 -0
- data/lib/jsduck/render/signature_util.rb +14 -0
- data/lib/jsduck/render/subproperties.rb +117 -0
- data/lib/jsduck/render/tags.rb +50 -0
- data/lib/jsduck/source/file.rb +89 -0
- data/lib/jsduck/tag/abstract.rb +11 -0
- data/lib/jsduck/tag/accessor.rb +10 -0
- data/lib/jsduck/tag/alias.rb +42 -0
- data/lib/jsduck/tag/alternate_class_names.rb +13 -0
- data/lib/jsduck/tag/aside.rb +71 -0
- data/lib/jsduck/tag/author.rb +30 -0
- data/lib/jsduck/tag/boolean_tag.rb +24 -0
- data/lib/jsduck/tag/cfg.rb +79 -0
- data/lib/jsduck/tag/chainable.rb +12 -0
- data/lib/jsduck/tag/class.rb +77 -0
- data/lib/jsduck/tag/class_list_tag.rb +40 -0
- data/lib/jsduck/tag/component.rb +19 -0
- data/lib/jsduck/tag/constructor.rb +24 -0
- data/lib/jsduck/tag/css_mixin.rb +31 -0
- data/lib/jsduck/tag/css_var.rb +50 -0
- data/lib/jsduck/tag/default.rb +25 -0
- data/lib/jsduck/tag/deprecated.rb +23 -0
- data/lib/jsduck/tag/deprecated_tag.rb +60 -0
- data/lib/jsduck/tag/doc.rb +32 -0
- data/lib/jsduck/tag/docauthor.rb +12 -0
- data/lib/jsduck/tag/enum.rb +67 -0
- data/lib/jsduck/tag/event.rb +36 -0
- data/lib/jsduck/tag/evented.rb +10 -0
- data/lib/jsduck/tag/experimental.rb +28 -0
- data/lib/jsduck/tag/extends.rb +39 -0
- data/lib/jsduck/tag/fires.rb +55 -0
- data/lib/jsduck/tag/ftype.rb +19 -0
- data/lib/jsduck/tag/hide.rb +11 -0
- data/lib/jsduck/tag/icons/cfg.png +0 -0
- data/lib/jsduck/tag/icons/class-large.png +0 -0
- data/lib/jsduck/tag/icons/class-redirect.png +0 -0
- data/lib/jsduck/tag/icons/class.png +0 -0
- data/lib/jsduck/tag/icons/component-large.png +0 -0
- data/lib/jsduck/tag/icons/component-redirect.png +0 -0
- data/lib/jsduck/tag/icons/component.png +0 -0
- data/lib/jsduck/tag/icons/css_mixin.png +0 -0
- data/lib/jsduck/tag/icons/css_var.png +0 -0
- data/lib/jsduck/tag/icons/event.png +0 -0
- data/lib/jsduck/tag/icons/listener.png +0 -0
- data/lib/jsduck/tag/icons/method.png +0 -0
- data/lib/jsduck/tag/icons/property.png +0 -0
- data/lib/jsduck/tag/icons/singleton-large.png +0 -0
- data/lib/jsduck/tag/icons/singleton-redirect.png +0 -0
- data/lib/jsduck/tag/icons/singleton.png +0 -0
- data/lib/jsduck/tag/ignore.rb +12 -0
- data/lib/jsduck/tag/inheritable.rb +10 -0
- data/lib/jsduck/tag/inheritdoc.rb +48 -0
- data/lib/jsduck/tag/listener.rb +36 -0
- data/lib/jsduck/tag/localdoc.rb +33 -0
- data/lib/jsduck/tag/markdown.rb +14 -0
- data/lib/jsduck/tag/member.rb +24 -0
- data/lib/jsduck/tag/member_tag.rb +131 -0
- data/lib/jsduck/tag/method.rb +75 -0
- data/lib/jsduck/tag/mixins.rb +27 -0
- data/lib/jsduck/tag/new.rb +32 -0
- data/lib/jsduck/tag/override.rb +37 -0
- data/lib/jsduck/tag/overrides.rb +29 -0
- data/lib/jsduck/tag/param.rb +46 -0
- data/lib/jsduck/tag/preventable.rb +37 -0
- data/lib/jsduck/tag/private.rb +35 -0
- data/lib/jsduck/tag/property.rb +67 -0
- data/lib/jsduck/tag/protected.rb +12 -0
- data/lib/jsduck/tag/ptype.rb +19 -0
- data/lib/jsduck/tag/readonly.rb +11 -0
- data/lib/jsduck/tag/removed.rb +32 -0
- data/lib/jsduck/tag/required.rb +23 -0
- data/lib/jsduck/tag/requires.rb +13 -0
- data/lib/jsduck/tag/return.rb +48 -0
- data/lib/jsduck/tag/since.rb +30 -0
- data/lib/jsduck/tag/singleton.rb +28 -0
- data/lib/jsduck/tag/static.rb +12 -0
- data/lib/jsduck/tag/subproperties.rb +23 -0
- data/lib/jsduck/tag/tag.rb +164 -0
- data/lib/jsduck/tag/template.rb +29 -0
- data/lib/jsduck/tag/throws.rb +39 -0
- data/lib/jsduck/tag/type.rb +38 -0
- data/lib/jsduck/tag/uses.rb +13 -0
- data/lib/jsduck/tag/xtype.rb +31 -0
- data/lib/jsduck/tag_loader.rb +50 -0
- data/lib/jsduck/tag_registry.rb +95 -0
- data/lib/jsduck/type_parser.rb +388 -0
- data/lib/jsduck/util/html.rb +27 -0
- data/lib/jsduck/util/io.rb +49 -0
- data/lib/jsduck/util/json.rb +60 -0
- data/lib/jsduck/util/md5.rb +32 -0
- data/lib/jsduck/util/null_object.rb +36 -0
- data/lib/jsduck/util/os.rb +14 -0
- data/lib/jsduck/util/parallel.rb +38 -0
- data/lib/jsduck/util/singleton.rb +35 -0
- data/lib/jsduck/util/stdout.rb +33 -0
- data/lib/jsduck/version.rb +5 -0
- data/lib/jsduck/videos.rb +40 -0
- data/lib/jsduck/warning/all.rb +36 -0
- data/lib/jsduck/warning/basic.rb +57 -0
- data/lib/jsduck/warning/deprecated.rb +40 -0
- data/lib/jsduck/warning/nodoc.rb +79 -0
- data/lib/jsduck/warning/parser.rb +168 -0
- data/lib/jsduck/warning/registry.rb +108 -0
- data/lib/jsduck/warning/tag.rb +57 -0
- data/lib/jsduck/warning/warn_exception.rb +10 -0
- data/lib/jsduck/web/class_icons.rb +76 -0
- data/lib/jsduck/web/css.rb +40 -0
- data/lib/jsduck/web/data.rb +52 -0
- data/lib/jsduck/web/index_html.rb +105 -0
- data/lib/jsduck/web/member_icons.rb +43 -0
- data/lib/jsduck/web/search.rb +153 -0
- data/lib/jsduck/web/source.rb +89 -0
- data/lib/jsduck/web/template.rb +51 -0
- data/lib/jsduck/web/tree.rb +22 -0
- data/lib/jsduck/web/writer.rb +100 -0
- data/lib/jsduck/welcome.rb +31 -0
- data/template-min/README.md +14 -0
- data/template-min/app-0f524ddd276c4019a11a6128932a9c96.js +1 -0
- data/template-min/eg-iframe.html +26 -0
- data/template-min/extjs/ext-all.js +38 -0
- data/template-min/extjs/resources/themes/images/default/boundlist/trigger-arrow.png +0 -0
- data/template-min/extjs/resources/themes/images/default/box/corners-blue.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/box/corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/box/l-blue.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/box/l.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/box/r-blue.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/box/r.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/box/tb-blue.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/box/tb.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn-group/btn-group-default-framed-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn-group/btn-group-default-framed-notitle-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn-group/btn-group-default-framed-notitle-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn-group/btn-group-default-framed-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-disabled-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-disabled-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-disabled-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-focus-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-focus-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-focus-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-over-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-over-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-over-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-pressed-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-pressed-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-pressed-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-large-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-disabled-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-disabled-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-disabled-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-focus-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-focus-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-focus-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-over-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-over-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-over-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-pressed-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-pressed-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-pressed-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-medium-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-disabled-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-disabled-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-disabled-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-focus-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-focus-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-focus-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-over-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-over-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-over-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-pressed-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-pressed-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-pressed-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-small-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-disabled-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-disabled-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-focus-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-focus-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-focus-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-over-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-over-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-over-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-pressed-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-pressed-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-pressed-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-disabled-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-disabled-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-focus-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-focus-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-focus-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-over-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-over-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-over-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-disabled-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-disabled-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-focus-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-focus-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-focus-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-over-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-over-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-over-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-pressed-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-pressed-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-pressed-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/button/arrow.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/button/btn.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/button/group-cs.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/button/group-lr.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/button/group-tb.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/button/s-arrow-b-noline.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/button/s-arrow-b.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/button/s-arrow-bo.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/button/s-arrow-light.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/button/s-arrow-noline.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/button/s-arrow-o.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/button/s-arrow.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/datepicker/datepicker-footer-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/datepicker/datepicker-footer-bg.png +0 -0
- data/template-min/extjs/resources/themes/images/default/datepicker/datepicker-header-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/datepicker/datepicker-header-bg.png +0 -0
- data/template-min/extjs/resources/themes/images/default/dd/drop-add.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/dd/drop-no.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/dd/drop-yes.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/editor/tb-sprite.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form-invalid-tip/form-invalid-tip-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form-invalid-tip/form-invalid-tip-default-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form-invalid-tip/form-invalid-tip-default-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form-invalid-tip/form-invalid-tip-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/checkbox.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/clear-trigger.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/date-trigger.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/error-tip-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/exclamation.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/radio.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/search-trigger.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/spinner-small.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/spinner.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/text-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/trigger-square.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/trigger-tpl.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/form/trigger.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/arrow-left-white.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/arrow-right-white.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/cell-special-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/cell-special-bg.png +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/cell-special-selected-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/cell-special-selected-bg.png +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/checked.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/col-move-bottom.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/col-move-top.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/column-header-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/column-header-bg.png +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/column-header-over-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/column-header-over-bg.png +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/columns.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/dd-insert-arrow-left.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/dd-insert-arrow-left.png +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/dd-insert-arrow-right.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/dd-insert-arrow-right.png +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/dirty.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/done.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/drop-no.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/drop-yes.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/footer-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/grid-blue-hd.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/grid-blue-split.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/grid-hrow.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/grid-loading.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/grid-split.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/grid-vista-hd.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/grid3-hd-btn.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/grid3-hrow-over.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/grid3-hrow.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/grid3-rowheader.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/group-by.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/group-collapse.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/group-expand-sprite.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/group-expand.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/hd-pop.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/hmenu-asc.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/hmenu-desc.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/hmenu-lock.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/hmenu-lock.png +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/hmenu-unlock.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/hmenu-unlock.png +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/invalid_line.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/loading.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/mso-hd.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/nowait.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/page-first-disabled.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/page-first.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/page-last-disabled.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/page-last.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/page-next-disabled.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/page-next.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/page-prev-disabled.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/page-prev.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/pick-button.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/property-cell-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/property-cell-selected-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/refresh-disabled.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/refresh.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/row-check-sprite.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/row-expand-sprite.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/row-over.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/row-sel.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/sort-hd.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/sort_asc.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/sort_desc.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/unchecked.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/grid/wait.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/layout/mini-bottom.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/layout/mini-left.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/layout/mini-right.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/layout/mini-top.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/menu/checked.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/menu/group-checked.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/menu/item-over.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/menu/menu-item-active-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/menu/menu-item-active-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/menu/menu-item-active-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/menu/menu-parent.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/menu/menu.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/menu/unchecked.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-bottom-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-bottom-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-bottom-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-bottom-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-bottom-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-bottom-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-bottom-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-left-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-left-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-left-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-right-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-right-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-right-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-top-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-top-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-top-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-left-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-left-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-left-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-right-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-right-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-right-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-top-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-top-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-framed-top-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-left-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-right-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel-header/panel-header-default-top-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel/panel-default-framed-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/panel/panel-default-framed-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/progress/progress-default-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/blue-loading.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/calendar.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/glass-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/hd-sprite.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/icon-error.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/icon-info.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/icon-question.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/icon-warning.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/large-loading.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/left-btn.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/loading-balls.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/right-btn.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/shadow-c.png +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/shadow-lr.png +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/shadow.png +0 -0
- data/template-min/extjs/resources/themes/images/default/shared/warning.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/e-handle-dark.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/e-handle.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/ne-handle-dark.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/ne-handle.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/nw-handle-dark.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/nw-handle.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/s-handle-dark.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/s-handle.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/se-handle-dark.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/se-handle.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/square.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/sw-handle-dark.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/sizer/sw-handle.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/slider/slider-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/slider/slider-bg.png +0 -0
- data/template-min/extjs/resources/themes/images/default/slider/slider-thumb.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/slider/slider-thumb.png +0 -0
- data/template-min/extjs/resources/themes/images/default/slider/slider-v-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/slider/slider-v-bg.png +0 -0
- data/template-min/extjs/resources/themes/images/default/slider/slider-v-thumb.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/slider/slider-v-thumb.png +0 -0
- data/template-min/extjs/resources/themes/images/default/tab-bar/scroll-left.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab-bar/scroll-right.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab-bar/tab-bar-default-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-bottom-active-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-bottom-active-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-bottom-active-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-bottom-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-bottom-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-bottom-over-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-bottom-over-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-bottom-over-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-bottom-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-close.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-top-active-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-top-active-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-top-active-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-top-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-top-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-top-disabled-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-top-disabled-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-top-disabled-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-top-over-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-top-over-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-top-over-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tab/tab-default-top-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tip/tip-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tip/tip-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/toolbar/more.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/toolbar/scroll-left.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/toolbar/scroll-right.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/toolbar/toolbar-default-bg.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tools/tool-sprite-tpl.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tools/tool-sprites.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tools/tools-sprites-trans.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/arrows.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/drop-above.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/drop-add.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/drop-append.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/drop-below.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/drop-between.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/drop-no.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/drop-over.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/drop-under.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/drop-yes.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/elbow-end-minus-nl.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/elbow-end-minus.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/elbow-end-plus-nl.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/elbow-end-plus.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/elbow-end.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/elbow-line.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/elbow-minus-nl.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/elbow-minus.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/elbow-plus-nl.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/elbow-plus.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/elbow.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/folder-open.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/folder.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/leaf.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/loading.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/tree/s.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/util/splitter/mini-bottom.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/util/splitter/mini-left.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/util/splitter/mini-right.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/util/splitter/mini-top.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-bottom-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-bottom-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-collapsed-bottom-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-collapsed-bottom-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-collapsed-left-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-collapsed-left-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-collapsed-right-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-collapsed-right-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-collapsed-top-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-collapsed-top-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-left-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-left-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-right-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-right-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-top-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window-header/window-header-default-top-sides.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window/window-default-corners.gif +0 -0
- data/template-min/extjs/resources/themes/images/default/window/window-default-sides.gif +0 -0
- data/template-min/favicon.ico +0 -0
- data/template-min/index-template.html +35 -0
- data/template-min/index.php +95 -0
- data/template-min/mobile-redirect.js +1 -0
- data/template-min/print-template.html +52 -0
- data/template-min/resources/css/app-de670120f43fdad3091a0cc2c10daadb.css +1 -0
- data/template-min/resources/images/ajax-loader.gif +0 -0
- data/template-min/resources/images/arrows.png +0 -0
- data/template-min/resources/images/comment-bubble.png +0 -0
- data/template-min/resources/images/comment.png +0 -0
- data/template-min/resources/images/default-guide.png +0 -0
- data/template-min/resources/images/doc-m.png +0 -0
- data/template-min/resources/images/down-arr.png +0 -0
- data/template-min/resources/images/elbow-end.gif +0 -0
- data/template-min/resources/images/example-icons.png +0 -0
- data/template-min/resources/images/expandcollapse.png +0 -0
- data/template-min/resources/images/group-expand-sprite.gif +0 -0
- data/template-min/resources/images/header.png +0 -0
- data/template-min/resources/images/hero-extjs4-alt.png +0 -0
- data/template-min/resources/images/icons.png +0 -0
- data/template-min/resources/images/icons.xcf +0 -0
- data/template-min/resources/images/link-green-standard-over.png +0 -0
- data/template-min/resources/images/link-green-standard.png +0 -0
- data/template-min/resources/images/loading.gif +0 -0
- data/template-min/resources/images/logo-screen-noglow.png +0 -0
- data/template-min/resources/images/logo.png +0 -0
- data/template-min/resources/images/member-collapsed.gif +0 -0
- data/template-min/resources/images/member-expanded.gif +0 -0
- data/template-min/resources/images/member-hover.gif +0 -0
- data/template-min/resources/images/more.png +0 -0
- data/template-min/resources/images/phone-l.jpg +0 -0
- data/template-min/resources/images/phone-p.jpg +0 -0
- data/template-min/resources/images/phone-small-l.jpg +0 -0
- data/template-min/resources/images/phone-small-p.jpg +0 -0
- data/template-min/resources/images/print.png +0 -0
- data/template-min/resources/images/sample-over.gif +0 -0
- data/template-min/resources/images/search-box.png +0 -0
- data/template-min/resources/images/tablet-l.jpg +0 -0
- data/template-min/resources/images/tablet-p.jpg +0 -0
- data/template-min/resources/images/tabs.png +0 -0
- data/template-min/resources/images/text-bg.gif +0 -0
- data/template-min/resources/images/vote-arrows.png +0 -0
- data/template-min/resources/images/welcome-bg-js4.gif +0 -0
- data/template-min/resources/images/x.png +0 -0
- data/template-min/resources/images/x12.png +0 -0
- data/template-min/resources/prettify/prettify.css +1 -0
- data/template-min/resources/prettify/prettify.js +30 -0
- data/template-min/template.html +44 -0
- metadata +828 -0
@@ -0,0 +1,110 @@
|
|
1
|
+
/**
|
2
|
+
* @class Boolean
|
3
|
+
*
|
4
|
+
* The `Boolean` object is an object wrapper for a boolean value.
|
5
|
+
*
|
6
|
+
* The value passed as the first parameter is converted to a boolean value, if necessary. If value is
|
7
|
+
* omitted or is 0, -0, null, false, `NaN`, undefined, or the empty string (""), the object has an
|
8
|
+
* initial value of false. All other values, including any object or the string `"false"`, create an
|
9
|
+
* object with an initial value of true.
|
10
|
+
*
|
11
|
+
* Do not confuse the primitive Boolean values true and false with the true and false values of the
|
12
|
+
* Boolean object.
|
13
|
+
*
|
14
|
+
* Any object whose value is not `undefined` or `null`, including a Boolean object whose value is false,
|
15
|
+
* evaluates to true when passed to a conditional statement. For example, the condition in the following
|
16
|
+
* if statement evaluates to true:
|
17
|
+
*
|
18
|
+
* x = new Boolean(false);
|
19
|
+
* if (x) {
|
20
|
+
* // . . . this code is executed
|
21
|
+
* }
|
22
|
+
*
|
23
|
+
* This behavior does not apply to Boolean primitives. For example, the condition in the following if
|
24
|
+
* statement evaluates to `false`:
|
25
|
+
* x = false;
|
26
|
+
* if (x) {
|
27
|
+
* // . . . this code is not executed
|
28
|
+
* }
|
29
|
+
*
|
30
|
+
* Do not use a `Boolean` object to convert a non-boolean value to a boolean value. Instead, use Boolean
|
31
|
+
* as a function to perform this task:
|
32
|
+
*
|
33
|
+
* x = Boolean(expression); // preferred
|
34
|
+
* x = new Boolean(expression); // don't use
|
35
|
+
*
|
36
|
+
* If you specify any object, including a Boolean object whose value is false, as the initial value of a
|
37
|
+
* Boolean object, the new Boolean object has a value of true.
|
38
|
+
*
|
39
|
+
* myFalse = new Boolean(false); // initial value of false
|
40
|
+
* g = new Boolean(myFalse); // initial value of true
|
41
|
+
* myString = new String("Hello"); // string object
|
42
|
+
* s = new Boolean(myString); // initial value of true
|
43
|
+
*
|
44
|
+
* Do not use a Boolean object in place of a Boolean primitive.
|
45
|
+
*
|
46
|
+
* # Creating Boolean objects with an initial value of false
|
47
|
+
*
|
48
|
+
* bNoParam = new Boolean();
|
49
|
+
* bZero = new Boolean(0);
|
50
|
+
* bNull = new Boolean(null);
|
51
|
+
* bEmptyString = new Boolean("");
|
52
|
+
* bfalse = new Boolean(false);
|
53
|
+
*
|
54
|
+
* # Creating Boolean objects with an initial value of true
|
55
|
+
*
|
56
|
+
* btrue = new Boolean(true);
|
57
|
+
* btrueString = new Boolean("true");
|
58
|
+
* bfalseString = new Boolean("false");
|
59
|
+
* bSuLin = new Boolean("Su Lin");
|
60
|
+
*
|
61
|
+
* <div class="notice">
|
62
|
+
* Documentation for this class comes from <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean">MDN</a>
|
63
|
+
* and is available under <a href="http://creativecommons.org/licenses/by-sa/2.0/">Creative Commons: Attribution-Sharealike license</a>.
|
64
|
+
* </div>
|
65
|
+
*/
|
66
|
+
|
67
|
+
/**
|
68
|
+
* @method constructor
|
69
|
+
* Creates a new boolean object.
|
70
|
+
* @param {Object} value Either a truthy or falsy value to create the corresponding Boolean object.
|
71
|
+
*/
|
72
|
+
|
73
|
+
//Methods
|
74
|
+
|
75
|
+
/**
|
76
|
+
* @method toString
|
77
|
+
* Returns a string of either "true" or "false" depending upon the value of the object.
|
78
|
+
* Overrides the `Object.prototype.toString` method.
|
79
|
+
*
|
80
|
+
* The Boolean object overrides the `toString` method of the `Object` object; it does not inherit
|
81
|
+
* `Object.toString`. For Boolean objects, the `toString` method returns a string representation of
|
82
|
+
* the object.
|
83
|
+
*
|
84
|
+
* JavaScript calls the `toString` method automatically when a Boolean is to be represented as a text
|
85
|
+
* value or when a Boolean is referred to in a string concatenation.
|
86
|
+
*
|
87
|
+
* For Boolean objects and values, the built-in `toString` method returns the string `"true"` or
|
88
|
+
* `"false"` depending on the value of the boolean object. In the following code, `flag.toString`
|
89
|
+
* returns `"true"`.
|
90
|
+
*
|
91
|
+
* var flag = new Boolean(true)
|
92
|
+
* var myVar = flag.toString()
|
93
|
+
*
|
94
|
+
* @return {String} The boolean value represented as a string.
|
95
|
+
*/
|
96
|
+
|
97
|
+
/**
|
98
|
+
* @method valueOf
|
99
|
+
* Returns the primitive value of the `Boolean` object. Overrides the `Object.prototype.valueOf` method.
|
100
|
+
*
|
101
|
+
* The `valueOf` method of Boolean returns the primitive value of a Boolean object or literal Boolean
|
102
|
+
* as a Boolean data type.
|
103
|
+
*
|
104
|
+
* This method is usually called internally by JavaScript and not explicitly in code.
|
105
|
+
*
|
106
|
+
* x = new Boolean();
|
107
|
+
* myVar = x.valueOf() //assigns false to myVar
|
108
|
+
*
|
109
|
+
* @return {Boolean} The primitive value.
|
110
|
+
*/
|
data/js-classes/Date.js
ADDED
@@ -0,0 +1,1022 @@
|
|
1
|
+
/**
|
2
|
+
* @class Date
|
3
|
+
*
|
4
|
+
* Creates `Date` instances which let you work with dates and times.
|
5
|
+
*
|
6
|
+
* If you supply no arguments, the constructor creates a `Date` object for today's
|
7
|
+
* date and time according to local time. If you supply some arguments but not
|
8
|
+
* others, the missing arguments are set to 0. If you supply any arguments, you
|
9
|
+
* must supply at least the year, month, and day. You can omit the hours, minutes,
|
10
|
+
* seconds, and milliseconds.
|
11
|
+
*
|
12
|
+
* The date is measured in milliseconds since midnight 01 January, 1970 UTC. A day
|
13
|
+
* holds 86,400,000 milliseconds. The `Date` object range is -100,000,000 days to
|
14
|
+
* 100,000,000 days relative to 01 January, 1970 UTC.
|
15
|
+
*
|
16
|
+
* The `Date` object provides uniform behavior across platforms.
|
17
|
+
*
|
18
|
+
* The `Date` object supports a number of UTC (universal) methods, as well as
|
19
|
+
* local time methods. UTC, also known as Greenwich Mean Time (GMT), refers to the
|
20
|
+
* time as set by the World Time Standard. The local time is the time known to the
|
21
|
+
* computer where JavaScript is executed.
|
22
|
+
*
|
23
|
+
* Invoking `Date` in a non-constructor context (i.e., without the `new` operator)
|
24
|
+
* will return a string representing the current time.
|
25
|
+
*
|
26
|
+
* Note that `Date` objects can only be instantiated by calling `Date` or using it
|
27
|
+
* as a constructor; unlike other JavaScript object types, `Date` objects have no
|
28
|
+
* literal syntax.
|
29
|
+
*
|
30
|
+
* # Several ways to assign dates
|
31
|
+
*
|
32
|
+
* The following example shows several ways to assign dates:
|
33
|
+
*
|
34
|
+
* today = new Date();
|
35
|
+
* birthday = new Date("December 19, 1989 03:24:00");
|
36
|
+
* birthday = new Date(1989,11,19);
|
37
|
+
* birthday = new Date(1989,11,17,3,24,0);
|
38
|
+
*
|
39
|
+
* # Calculating elapsed time
|
40
|
+
*
|
41
|
+
* The following examples show how to determine the elapsed time between two dates:
|
42
|
+
*
|
43
|
+
* // using static methods
|
44
|
+
* var start = Date.now();
|
45
|
+
* // the event you'd like to time goes here:
|
46
|
+
* doSomethingForALongTime();
|
47
|
+
* var end = Date.now();
|
48
|
+
* var elapsed = end - start; // time in milliseconds
|
49
|
+
*
|
50
|
+
* // if you have Date objects
|
51
|
+
* var start = new Date();
|
52
|
+
* // the event you'd like to time goes here:
|
53
|
+
* doSomethingForALongTime();
|
54
|
+
* var end = new Date();
|
55
|
+
* var elapsed = end.getTime() - start.getTime(); // time in milliseconds
|
56
|
+
*
|
57
|
+
* // if you want to test a function and get back its return
|
58
|
+
* function printElapsedTime (fTest) {
|
59
|
+
* var nStartTime = Date.now(), vReturn = fTest(), nEndTime = Date.now();
|
60
|
+
* alert("Elapsed time: " + String(nEndTime - nStartTime) + "
|
61
|
+
* milliseconds");
|
62
|
+
* return vReturn;
|
63
|
+
* }
|
64
|
+
*
|
65
|
+
* yourFunctionReturn = printElapsedTime(yourFunction);
|
66
|
+
*
|
67
|
+
* # ISO 8601 formatted dates
|
68
|
+
*
|
69
|
+
* The following example shows how to formate a date in an ISO 8601 format using
|
70
|
+
* UTC:
|
71
|
+
*
|
72
|
+
* // use a function for the exact format desired...
|
73
|
+
* function ISODateString(d){
|
74
|
+
* function pad(n){return n<10 ? '0'+n : n}
|
75
|
+
* return d.getUTCFullYear()+'-'
|
76
|
+
* + pad(d.getUTCMonth()+1)+'-'
|
77
|
+
* + pad(d.getUTCDate())+'T'
|
78
|
+
* + pad(d.getUTCHours())+':'
|
79
|
+
* + pad(d.getUTCMinutes())+':'
|
80
|
+
* + pad(d.getUTCSeconds())+'Z'}
|
81
|
+
*
|
82
|
+
* var d = new Date();
|
83
|
+
* print(ISODateString(d)); // prints something like 2009-09-28T19:03:12Z
|
84
|
+
*
|
85
|
+
* <div class="notice">
|
86
|
+
* Documentation for this class comes from <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date">MDN</a>
|
87
|
+
* and is available under <a href="http://creativecommons.org/licenses/by-sa/2.0/">Creative Commons: Attribution-Sharealike license</a>.
|
88
|
+
* </div>
|
89
|
+
*/
|
90
|
+
|
91
|
+
/**
|
92
|
+
* @method constructor
|
93
|
+
* Creates new Date object.
|
94
|
+
*
|
95
|
+
* @param {Number/String} [year]
|
96
|
+
* Either UNIX timestamp, date string, or year (when month and day parameters also provided):
|
97
|
+
*
|
98
|
+
* - Integer value representing the number of milliseconds since 1 January 1970
|
99
|
+
* 00:00:00 UTC (Unix Epoch).
|
100
|
+
*
|
101
|
+
* - String value representing a date. The string should be in a format recognized
|
102
|
+
* by the parse method (IETF-compliant RFC 1123 timestamps).
|
103
|
+
*
|
104
|
+
* - Integer value representing the year. For compatibility (in order to avoid the
|
105
|
+
* Y2K problem), you should always specify the year in full; use 1998, rather
|
106
|
+
* than 98.
|
107
|
+
*
|
108
|
+
* @param {Number} [month]
|
109
|
+
* Integer value representing the month, beginning with 0 for January to 11
|
110
|
+
* for December.
|
111
|
+
* @param {Number} [day]
|
112
|
+
* Integer value representing the day of the month (1-31).
|
113
|
+
* @param {Number} [hour]
|
114
|
+
* Integer value representing the hour of the day (0-23).
|
115
|
+
* @param {Number} [minute]
|
116
|
+
* Integer value representing the minute segment (0-59) of a time reading.
|
117
|
+
* @param {Number} [second]
|
118
|
+
* Integer value representing the second segment (0-59) of a time reading.
|
119
|
+
* @param {Number} [millisecond]
|
120
|
+
* Integer value representing the millisecond segment (0-999) of a time reading.
|
121
|
+
*/
|
122
|
+
|
123
|
+
|
124
|
+
//Methods
|
125
|
+
|
126
|
+
/**
|
127
|
+
* @method now
|
128
|
+
* @static
|
129
|
+
* Returns the numeric value corresponding to the current time.
|
130
|
+
*
|
131
|
+
* The `now` method returns the milliseconds elapsed since 1 January 1970 00:00:00 UTC up until now as
|
132
|
+
* a number.
|
133
|
+
*
|
134
|
+
* When using `now` to create timestamps or unique IDs, keep in mind that the resolution may be 15
|
135
|
+
* milliseconds on Windows, so you could end up with several equal values if `now` is called multiple
|
136
|
+
* times within a short time span.
|
137
|
+
*
|
138
|
+
* @return {Number} Returns the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC.
|
139
|
+
*/
|
140
|
+
|
141
|
+
/**
|
142
|
+
* @method parse
|
143
|
+
* @static
|
144
|
+
* Parses a string representation of a date, and returns the number of milliseconds
|
145
|
+
* since January 1, 1970, 00:00:00, local time.
|
146
|
+
*
|
147
|
+
* The `parse` method takes a date string (such as `"Dec 25, 1995"`) and returns the number of
|
148
|
+
* milliseconds since January 1, 1970, 00:00:00 UTC. The local time zone is used to interpret
|
149
|
+
* arguments that do not contain time zone information. This function is useful for setting date
|
150
|
+
* values based on string values, for example in conjunction with the `setTime` method and the
|
151
|
+
* {@link Date} object.
|
152
|
+
*
|
153
|
+
* Given a string representing a time, parse returns the time value. It accepts the IETF standard (RFC
|
154
|
+
* 1123 Section 5.2.14 and elsewhere) date syntax: `"Mon, 25 Dec 1995 13:30:00 GMT"`. It understands
|
155
|
+
* the continental US time-zone abbreviations, but for general use, use a time-zone offset, for
|
156
|
+
* example, `"Mon, 25 Dec 1995 13:30:00 GMT+0430"` (4 hours, 30 minutes east of the Greenwich
|
157
|
+
* meridian). If you do not specify a time zone, the local time zone is assumed. GMT and UTC are
|
158
|
+
* considered equivalent.
|
159
|
+
*
|
160
|
+
* ### Using parse
|
161
|
+
*
|
162
|
+
* If `IPOdate` is an existing `Date` object, then you can set it to August 9, 1995 (local time) as
|
163
|
+
* follows:
|
164
|
+
*
|
165
|
+
* IPOdate.setTime(Date.parse("Aug 9, 1995"));
|
166
|
+
*
|
167
|
+
* Some other examples:
|
168
|
+
*
|
169
|
+
* // Returns 807937200000 in time zone GMT-0300, and other values in other
|
170
|
+
* // timezones, since the argument does not specify a time zone.
|
171
|
+
* Date.parse("Aug 9, 1995");
|
172
|
+
*
|
173
|
+
* // Returns 807926400000 no matter the local time zone.
|
174
|
+
* Date.parse("Wed, 09 Aug 1995 00:00:00 GMT");
|
175
|
+
*
|
176
|
+
* // Returns 807937200000 in timezone GMT-0300, and other values in other
|
177
|
+
* // timezones, since there is no time zone specifier in the argument.
|
178
|
+
* Date.parse("Wed, 09 Aug 1995 00:00:00");
|
179
|
+
*
|
180
|
+
* // Returns 0 no matter the local time zone.
|
181
|
+
* Date.parse("Thu, 01 Jan 1970 00:00:00 GMT");
|
182
|
+
*
|
183
|
+
* // Returns 14400000 in timezone GMT-0400, and other values in other
|
184
|
+
* // timezones, since there is no time zone specifier in the argument.
|
185
|
+
* Date.parse("Thu, 01 Jan 1970 00:00:00");
|
186
|
+
*
|
187
|
+
* // Returns 14400000 no matter the local time zone.
|
188
|
+
* Date.parse("Thu, 01 Jan 1970 00:00:00 GMT-0400");
|
189
|
+
*
|
190
|
+
* @param {String} dateString A string representing a date.
|
191
|
+
* @return {Number} Number of milliseconds since January 1, 1970, 00:00:00, local time.
|
192
|
+
*/
|
193
|
+
|
194
|
+
/**
|
195
|
+
* @method UTC
|
196
|
+
* @static
|
197
|
+
* Accepts the same parameters as the longest form of the constructor, and returns
|
198
|
+
* the number of milliseconds in a `Date` object since January 1, 1970, 00:00:00,
|
199
|
+
* universal time.
|
200
|
+
*
|
201
|
+
* `UTC` takes comma-delimited date parameters and returns the number of milliseconds between January
|
202
|
+
* 1, 1970, 00:00:00, universal time and the time you specified.
|
203
|
+
*
|
204
|
+
* You should specify a full year for the year; for example, 1998. If a year between 0 and 99 is
|
205
|
+
* specified, the method converts the year to a year in the 20th century (1900 + year); for example,
|
206
|
+
* if you specify 95, the year 1995 is used.
|
207
|
+
*
|
208
|
+
* The `UTC` method differs from the `Date` constructor in two ways.
|
209
|
+
* * `Date.UTC` uses universal time instead of the local time.
|
210
|
+
* * `Date.UTC` returns a time value as a number instead of creating a `Date` object.
|
211
|
+
*
|
212
|
+
* If a parameter you specify is outside of the expected range, the `UTC` method updates the other
|
213
|
+
* parameters to allow for your number. For example, if you use 15 for month, the year will be
|
214
|
+
* incremented by 1 (year + 1), and 3 will be used for the month.
|
215
|
+
*
|
216
|
+
* Because `UTC` is a static method of `Date`, you always use it as `Date.UTC()`, rather than as a
|
217
|
+
* method of a `Date` object you created.
|
218
|
+
*
|
219
|
+
* The following statement creates a `Date` object using GMT instead of local time:
|
220
|
+
*
|
221
|
+
* gmtDate = new Date(Date.UTC(96, 11, 1, 0, 0, 0));
|
222
|
+
*
|
223
|
+
* @param {Number} year A year after 1900.
|
224
|
+
* @param {Number} month An integer between 0 and 11 representing the month.
|
225
|
+
* @param {Number} date An integer between 1 and 31 representing the day of the month.
|
226
|
+
* @param {Number} hrs An integer between 0 and 23 representing the hours.
|
227
|
+
* @param {Number} min An integer between 0 and 59 representing the minutes.
|
228
|
+
* @param {Number} sec An integer between 0 and 59 representing the seconds.
|
229
|
+
* @param {Number} ms An integer between 0 and 999 representing the milliseconds.
|
230
|
+
* @return {Number} Number of milliseconds since January 1, 1970, 00:00:00, universal time.
|
231
|
+
*/
|
232
|
+
|
233
|
+
//Methods
|
234
|
+
|
235
|
+
/**
|
236
|
+
* @method getDate
|
237
|
+
* Returns the day of the month for the specified date according to local time.
|
238
|
+
*
|
239
|
+
* The second statement below assigns the value 25 to the variable `day`, based on the value of the
|
240
|
+
* `Date` object `Xmas95`.
|
241
|
+
*
|
242
|
+
* Xmas95 = new Date("December 25, 1995 23:15:00")
|
243
|
+
* day = Xmas95.getDate()
|
244
|
+
*
|
245
|
+
* @return {Number} Value between 1 and 31.
|
246
|
+
*/
|
247
|
+
|
248
|
+
/**
|
249
|
+
* @method getDay
|
250
|
+
* Returns the day of the week for the specified date according to local time.
|
251
|
+
*
|
252
|
+
* The value returned by `getDay` is an integer corresponding to the day of the week: 0 for Sunday, 1
|
253
|
+
* for Monday, 2 for Tuesday, and so on.
|
254
|
+
*
|
255
|
+
* The second statement below assigns the value 1 to `weekday`, based on the value of the `Date`
|
256
|
+
* object `Xmas95`. December 25, 1995, is a Monday.
|
257
|
+
*
|
258
|
+
* Xmas95 = new Date("December 25, 1995 23:15:00");
|
259
|
+
* weekday = Xmas95.getDay();
|
260
|
+
*
|
261
|
+
* @return {Number} A numeric representation of the day from Sunday (0) to
|
262
|
+
* Saturday (6).
|
263
|
+
*/
|
264
|
+
|
265
|
+
/**
|
266
|
+
* @method getFullYear
|
267
|
+
* Returns the year of the specified date according to local time.
|
268
|
+
*
|
269
|
+
* The value returned by `getFullYear` is an absolute number. For dates between the years 1000 and
|
270
|
+
* 9999, `getFullYear` returns a four-digit number, for example, 1995. Use this function to make sure
|
271
|
+
* a year is compliant with years after 2000.
|
272
|
+
*
|
273
|
+
* Use this method instead of the `getYear` method.
|
274
|
+
*
|
275
|
+
* The following example assigns the four-digit value of the current year to the variable yr.
|
276
|
+
*
|
277
|
+
* var today = new Date();
|
278
|
+
* var yr = today.getFullYear();
|
279
|
+
*
|
280
|
+
* @return {Number} Four digit representation of the year.
|
281
|
+
*/
|
282
|
+
|
283
|
+
/**
|
284
|
+
* @method getHours
|
285
|
+
* Returns the hour for the specified date according to local time.
|
286
|
+
*
|
287
|
+
* The second statement below assigns the value 23 to the variable `hours`, based on the value of the
|
288
|
+
* `Date` object `Xmas95`.
|
289
|
+
*
|
290
|
+
* Xmas95 = new Date("December 25, 1995 23:15:00")
|
291
|
+
* hours = Xmas95.getHours()
|
292
|
+
*
|
293
|
+
* @return {Number} Value between 0 and 23, using 24-hour clock.
|
294
|
+
*/
|
295
|
+
|
296
|
+
/**
|
297
|
+
* @method getMilliseconds
|
298
|
+
* Returns the milliseconds in the specified date according to local time.
|
299
|
+
*
|
300
|
+
* The following example assigns the milliseconds portion of the current time to the variable ms.
|
301
|
+
*
|
302
|
+
* var ms;
|
303
|
+
* Today = new Date();
|
304
|
+
* ms = Today.getMilliseconds();
|
305
|
+
*
|
306
|
+
* @return {Number} A number between 0 and 999.
|
307
|
+
*/
|
308
|
+
|
309
|
+
/**
|
310
|
+
* @method getMinutes
|
311
|
+
* Returns the minutes in the specified date according to local time.
|
312
|
+
*
|
313
|
+
* The second statement below assigns the value 15 to the variable `minutes`, based on the value of
|
314
|
+
* the `Date` object `Xmas95`.
|
315
|
+
*
|
316
|
+
* Xmas95 = new Date("December 25, 1995 23:15:00")
|
317
|
+
* minutes = Xmas95.getMinutes()
|
318
|
+
*
|
319
|
+
* @return {Number} Value between 0 and 59.
|
320
|
+
*/
|
321
|
+
|
322
|
+
/**
|
323
|
+
* @method getMonth
|
324
|
+
* Returns the month in the specified date according to local time.
|
325
|
+
*
|
326
|
+
* The second statement below assigns the value 11 to the variable `month`, based on the value of the
|
327
|
+
* `Date` object `Xmas95`.
|
328
|
+
*
|
329
|
+
* Xmas95 = new Date("December 25, 1995 23:15:00")
|
330
|
+
* month = Xmas95.getMonth()
|
331
|
+
*
|
332
|
+
* @return {Number} An integer between 0 and 11. 0 corresponds to January, 1 to February, and so on.
|
333
|
+
*/
|
334
|
+
|
335
|
+
/**
|
336
|
+
* @method getSeconds
|
337
|
+
* Returns the seconds in the specified date according to local time.
|
338
|
+
*
|
339
|
+
* The second statement below assigns the value 30 to the variable `secs`, based on the value of the
|
340
|
+
* `Date` object `Xmas95`.
|
341
|
+
*
|
342
|
+
* Xmas95 = new Date("December 25, 1995 23:15:30")
|
343
|
+
* secs = Xmas95.getSeconds()
|
344
|
+
*
|
345
|
+
* @return {Number} Value between 0 and 59.
|
346
|
+
*/
|
347
|
+
|
348
|
+
/**
|
349
|
+
* @method getTime
|
350
|
+
* Returns the numeric value corresponding to the time for the specified date according to
|
351
|
+
* universal time.
|
352
|
+
*
|
353
|
+
* The value returned by the `getTime` method is the number of milliseconds since 1 January 1970
|
354
|
+
* 00:00:00 UTC. You can use this method to help assign a date and time to another `Date` object.
|
355
|
+
*
|
356
|
+
* This method is functionally equivalent to the `valueOf` method.
|
357
|
+
*
|
358
|
+
* Using getTime for copying dates
|
359
|
+
*
|
360
|
+
* Constructing a date object with the identical time value.
|
361
|
+
*
|
362
|
+
* var birthday = new Date(1994, 12, 10);
|
363
|
+
* var copy = new Date();
|
364
|
+
* copy.setTime(birthday.getTime());
|
365
|
+
*
|
366
|
+
* Measuring execution time
|
367
|
+
*
|
368
|
+
* Subtracting two subsequent getTime calls on newly generated Date objects, give the time span
|
369
|
+
* between these two calls. This can be used to calculate the executing time of some operations.
|
370
|
+
*
|
371
|
+
* var end, start;
|
372
|
+
*
|
373
|
+
* start = new Date();
|
374
|
+
* for (var i = 0; i < 1000; i++)
|
375
|
+
* Math.sqrt(i);
|
376
|
+
* end = new Date();
|
377
|
+
*
|
378
|
+
* console.log("Operation took " + (end.getTime() - start.getTime()) + " msec");
|
379
|
+
*
|
380
|
+
* @return {Number} Number of milliseconds since 1/1/1970 (GMT).
|
381
|
+
*/
|
382
|
+
|
383
|
+
/**
|
384
|
+
* @method getTimezoneOffset
|
385
|
+
* Returns the time-zone offset from UTC, in minutes, for the current locale.
|
386
|
+
*
|
387
|
+
* The time-zone offset is the difference, in minutes, between UTC and local time. Note that this
|
388
|
+
* means that the offset is positive if the local timezone is behind UTC and negative if it is ahead.
|
389
|
+
* For example, if your time zone is UTC+10 (Australian Eastern Standard Time), -600 will be returned.
|
390
|
+
* Daylight savings time prevents this value from being a constant even for a given locale
|
391
|
+
*
|
392
|
+
* x = new Date()
|
393
|
+
* currentTimeZoneOffsetInHours = x.getTimezoneOffset()/60
|
394
|
+
*
|
395
|
+
* @return {Number} Minutes between GMT and local time.
|
396
|
+
*/
|
397
|
+
|
398
|
+
/**
|
399
|
+
* @method getUTCDate
|
400
|
+
* Returns the day (date) of the month in the specified date according to universal time.
|
401
|
+
*
|
402
|
+
* The following example assigns the day portion of the current date to the variable `d`.
|
403
|
+
*
|
404
|
+
* var d;
|
405
|
+
* Today = new Date();
|
406
|
+
* d = Today.getUTCDate();
|
407
|
+
*
|
408
|
+
* @return {Number} Integer between 1 and 31 representing the day.
|
409
|
+
*/
|
410
|
+
|
411
|
+
/**
|
412
|
+
* @method getUTCDay
|
413
|
+
* Returns the day of the week in the specified date according to universal time.
|
414
|
+
*
|
415
|
+
* The following example assigns the weekday portion of the current date to the variable `weekday`.
|
416
|
+
*
|
417
|
+
* var weekday;
|
418
|
+
* Today = new Date()
|
419
|
+
* weekday = Today.getUTCDay()
|
420
|
+
*
|
421
|
+
* @return {Number} A numeric representation of the day from Sunday (0) to
|
422
|
+
* Saturday (6).
|
423
|
+
*/
|
424
|
+
|
425
|
+
/**
|
426
|
+
* @method getUTCFullYear
|
427
|
+
* Returns the year in the specified date according to universal time.
|
428
|
+
*
|
429
|
+
* The following example assigns the four-digit value of the current year to the variable `yr`.
|
430
|
+
*
|
431
|
+
* var yr;
|
432
|
+
* Today = new Date();
|
433
|
+
* yr = Today.getUTCFullYear();
|
434
|
+
*
|
435
|
+
* @return {Number} Four digit representation of the year.
|
436
|
+
*/
|
437
|
+
|
438
|
+
/**
|
439
|
+
* @method getUTCHours
|
440
|
+
* Returns the hours in the specified date according to universal time.
|
441
|
+
*
|
442
|
+
* The following example assigns the hours portion of the current time to the variable `hrs`.
|
443
|
+
*
|
444
|
+
* var hrs;
|
445
|
+
* Today = new Date();
|
446
|
+
* hrs = Today.getUTCHours();
|
447
|
+
*
|
448
|
+
* @return {Number} Value between 0 and 23.
|
449
|
+
*/
|
450
|
+
|
451
|
+
/**
|
452
|
+
* @method getUTCMilliseconds
|
453
|
+
* Returns the milliseconds in the specified date according to universal time.
|
454
|
+
*
|
455
|
+
* The following example assigns the milliseconds portion of the current time to the variable `ms`.
|
456
|
+
*
|
457
|
+
* var ms;
|
458
|
+
* Today = new Date();
|
459
|
+
* ms = Today.getUTCMilliseconds();
|
460
|
+
*
|
461
|
+
* @return {Number} Milliseconds portion of the Date.
|
462
|
+
*/
|
463
|
+
|
464
|
+
/**
|
465
|
+
* @method getUTCMinutes
|
466
|
+
* Returns the minutes in the specified date according to universal time.
|
467
|
+
*
|
468
|
+
* The following example assigns the minutes portion of the current time to the variable `min`.
|
469
|
+
*
|
470
|
+
* var min;
|
471
|
+
* Today = new Date();
|
472
|
+
* min = Today.getUTCMinutes();
|
473
|
+
*
|
474
|
+
* @return {Number} Value between 0 and 59.
|
475
|
+
*/
|
476
|
+
|
477
|
+
/**
|
478
|
+
* @method getUTCMonth
|
479
|
+
* Returns the month of the specified date according to universal time.
|
480
|
+
*
|
481
|
+
* The following example assigns the month portion of the current date to the variable `mon`.
|
482
|
+
*
|
483
|
+
* var mon;
|
484
|
+
* Today = new Date();
|
485
|
+
* mon = Today.getUTCMonth();
|
486
|
+
*
|
487
|
+
* @return {Number} Value between 0 (January) and 11 (December).
|
488
|
+
*/
|
489
|
+
|
490
|
+
/**
|
491
|
+
* @method getUTCSeconds
|
492
|
+
* Returns the seconds in the specified date according to universal time.
|
493
|
+
*
|
494
|
+
* The following example assigns the seconds portion of the current time to the variable `sec`.
|
495
|
+
*
|
496
|
+
* var sec;
|
497
|
+
* Today = new Date();
|
498
|
+
* sec = Today.getUTCSeconds();
|
499
|
+
*
|
500
|
+
* @return {Number} Value between 0 and 59.
|
501
|
+
*/
|
502
|
+
|
503
|
+
/**
|
504
|
+
* @method setDate
|
505
|
+
* Sets the day of the month (1-31) for a specified date according to local time.
|
506
|
+
*
|
507
|
+
* If the parameter you specify is outside of the expected range, `setDate` attempts to update the
|
508
|
+
* date information in the `Date` object accordingly. For example, if you use 0 for `dayValue`, the
|
509
|
+
* date will be set to the last day of the previous month.
|
510
|
+
*
|
511
|
+
* The second statement below changes the day for theBigDay to July 24 from its original value.
|
512
|
+
*
|
513
|
+
* theBigDay = new Date("July 27, 1962 23:30:00")
|
514
|
+
* theBigDay.setDate(24)
|
515
|
+
*
|
516
|
+
* @param {Number} dayValue An integer from 1 to 31, representing the day of the month.
|
517
|
+
* @return {Number} New date represented as milliseconds.
|
518
|
+
*/
|
519
|
+
|
520
|
+
/**
|
521
|
+
* @method setFullYear
|
522
|
+
* Sets the full year (4 digits for 4-digit years) for a specified date according to
|
523
|
+
* local time.
|
524
|
+
*
|
525
|
+
* If you do not specify the `monthValue` and `dayValue` parameters, the values returned from the
|
526
|
+
* `getMonth` and `getDate` methods are used.
|
527
|
+
*
|
528
|
+
* If a parameter you specify is outside of the expected range, `setFullYear` attempts to update the
|
529
|
+
* other parameters and the date information in the `Date` object accordingly. For example, if you
|
530
|
+
* specify 15 for monthValue, the year is incremented by 1 (year + 1), and 3 is used for the month.
|
531
|
+
*
|
532
|
+
* theBigDay = new Date();
|
533
|
+
* theBigDay.setFullYear(1997);
|
534
|
+
*
|
535
|
+
* @param {Number} yearValue An integer specifying the numeric value of the year, for example, 1995.
|
536
|
+
* @param {Number} monthValue An integer between 0 and 11 representing the months January through
|
537
|
+
* December.
|
538
|
+
* @param {Number} dayValue An integer between 1 and 31 representing the day of the month. If you
|
539
|
+
* specify the `dayValue` parameter, you must also specify the `monthValue`.
|
540
|
+
* @return {Number} New date represented as milliseconds.
|
541
|
+
*/
|
542
|
+
|
543
|
+
/**
|
544
|
+
* @method setHours
|
545
|
+
* Sets the hours (0-23) for a specified date according to local time.
|
546
|
+
*
|
547
|
+
* If you do not specify the `minutesValue`, `secondsValue`, and `msValue` parameters, the values
|
548
|
+
* returned from the `getUTCMinutes`, `getUTCSeconds`, and `getMilliseconds` methods are used.
|
549
|
+
*
|
550
|
+
* If a parameter you specify is outside of the expected range, setHours attempts to update the date
|
551
|
+
* information in the `Date` object accordingly. For example, if you use 100 for `secondsValue`, the
|
552
|
+
* minutes will be incremented by 1 (min + 1), and 40 will be used for seconds.
|
553
|
+
*
|
554
|
+
* theBigDay.setHours(7)
|
555
|
+
*
|
556
|
+
* @param {Number} hoursValue An integer between 0 and 23, representing the hour.
|
557
|
+
* @param {Number} minutesValue An integer between 0 and 59, representing the minutes.
|
558
|
+
* @param {Number} secondsValue An integer between 0 and 59, representing the seconds. If you specify the
|
559
|
+
* `secondsValue` parameter, you must also specify the `minutesValue`.
|
560
|
+
* @param {Number} msValue A number between 0 and 999, representing the milliseconds. If you specify the
|
561
|
+
* `msValue` parameter, you must also specify the `minutesValue` and `secondsValue`.
|
562
|
+
* @return {Number} New date represented as milliseconds.
|
563
|
+
*/
|
564
|
+
|
565
|
+
/**
|
566
|
+
* @method setMilliseconds
|
567
|
+
* Sets the milliseconds (0-999) for a specified date according to local time.
|
568
|
+
*
|
569
|
+
* If you specify a number outside the expected range, the date information in the `Date` object is
|
570
|
+
* updated accordingly. For example, if you specify 1005, the number of seconds is incremented by 1,
|
571
|
+
* and 5 is used for the milliseconds.
|
572
|
+
*
|
573
|
+
* theBigDay = new Date();
|
574
|
+
* theBigDay.setMilliseconds(100);
|
575
|
+
*
|
576
|
+
* @param {Number} millisecondsValue A number between 0 and 999, representing the milliseconds.
|
577
|
+
* @return {Number} New date represented as milliseconds.
|
578
|
+
*/
|
579
|
+
|
580
|
+
/**
|
581
|
+
* @method setMinutes
|
582
|
+
* Sets the minutes (0-59) for a specified date according to local time.
|
583
|
+
*
|
584
|
+
* If you do not specify the `secondsValue` and `msValue` parameters, the values returned from
|
585
|
+
* `getSeconds` and `getMilliseconds` methods are used.
|
586
|
+
*
|
587
|
+
* If a parameter you specify is outside of the expected range, `setMinutes` attempts to update the
|
588
|
+
* date information in the `Date` object accordingly. For example, if you use 100 for `secondsValue`,
|
589
|
+
* the minutes (`minutesValue`) will be incremented by 1 (minutesValue + 1), and 40 will be used for
|
590
|
+
* seconds.
|
591
|
+
*
|
592
|
+
* theBigDay.setMinutes(45)
|
593
|
+
*
|
594
|
+
* @param {Number} minutesValue An integer between 0 and 59, representing the minutes.
|
595
|
+
* @param {Number} secondsValue An integer between 0 and 59, representing the seconds. If you
|
596
|
+
* specify the secondsValue parameter, you must also specify the `minutesValue`.
|
597
|
+
* @param {Number} msValue A number between 0 and 999, representing the milliseconds. If you specify
|
598
|
+
* the `msValue` parameter, you must also specify the `minutesValue` and `secondsValue`.
|
599
|
+
* @return {Number} New date represented as milliseconds.
|
600
|
+
*/
|
601
|
+
|
602
|
+
/**
|
603
|
+
* @method setMonth
|
604
|
+
* Sets the month (0-11) for a specified date according to local time.
|
605
|
+
*
|
606
|
+
* If you do not specify the `dayValue` parameter, the value returned from the `getDate` method is
|
607
|
+
* used.
|
608
|
+
*
|
609
|
+
* If a parameter you specify is outside of the expected range, `setMonth` attempts to update the date
|
610
|
+
* information in the `Date` object accordingly. For example, if you use 15 for `monthValue`, the year
|
611
|
+
* will be incremented by 1 (year + 1), and 3 will be used for month.
|
612
|
+
*
|
613
|
+
* theBigDay.setMonth(6)
|
614
|
+
*
|
615
|
+
* @param {Number} monthValue An integer between 0 and 11 (representing the months January through
|
616
|
+
* December).
|
617
|
+
* @param {Number} dayValue An integer from 1 to 31, representing the day of the month.
|
618
|
+
* @return {Number} New date represented as milliseconds.
|
619
|
+
*/
|
620
|
+
|
621
|
+
/**
|
622
|
+
* @method setSeconds
|
623
|
+
* Sets the seconds (0-59) for a specified date according to local time.
|
624
|
+
*
|
625
|
+
* If you do not specify the `msValue` parameter, the value returned from the `getMilliseconds` method
|
626
|
+
* is used.
|
627
|
+
*
|
628
|
+
* If a parameter you specify is outside of the expected range, `setSeconds` attempts to update the
|
629
|
+
* date information in the `Date` object accordingly. For example, if you use 100 for `secondsValue`,
|
630
|
+
* the minutes stored in the `Date` object will be incremented by 1, and 40 will be used for seconds.
|
631
|
+
*
|
632
|
+
* theBigDay.setSeconds(30)
|
633
|
+
*
|
634
|
+
* @param {Number} secondsValue An integer between 0 and 59.
|
635
|
+
* @param {Number} msValue A number between 0 and 999, representing the milliseconds. If you specify
|
636
|
+
* the`msValue` parameter, you must also specify the `minutesValue` and `secondsValue`.
|
637
|
+
* @return {Number} New date represented as milliseconds.
|
638
|
+
*/
|
639
|
+
|
640
|
+
/**
|
641
|
+
* @method setTime
|
642
|
+
* Sets the Date object to the time represented by a number of milliseconds since
|
643
|
+
* January 1, 1970, 00:00:00 UTC, allowing for negative numbers for times prior.
|
644
|
+
*
|
645
|
+
* Use the `setTime` method to help assign a date and time to another `Date` object.
|
646
|
+
*
|
647
|
+
* theBigDay = new Date("July 1, 1999")
|
648
|
+
* sameAsBigDay = new Date()
|
649
|
+
* sameAsBigDay.setTime(theBigDay.getTime())
|
650
|
+
*
|
651
|
+
* @param {Number} timeValue An integer representing the number of milliseconds since 1 January
|
652
|
+
* 1970, 00:00:00 UTC.
|
653
|
+
* @return {Number} New date represented as milliseconds.
|
654
|
+
*/
|
655
|
+
|
656
|
+
/**
|
657
|
+
* @method setUTCDate
|
658
|
+
* Sets the day of the month (1-31) for a specified date according to universal time.
|
659
|
+
*
|
660
|
+
* If a parameter you specify is outside of the expected range, `setUTCDate` attempts to update the
|
661
|
+
* date information in the `Date` object accordingly. For example, if you use 40 for `dayValue`, and
|
662
|
+
* the month stored in the `Date` object is June, the day will be changed to 10 and the month will be
|
663
|
+
* incremented to July.
|
664
|
+
*
|
665
|
+
* theBigDay = new Date();
|
666
|
+
* theBigDay.setUTCDate(20);
|
667
|
+
*
|
668
|
+
* @param {Number} dayValue An integer from 1 to 31, representing the day of the month.
|
669
|
+
* @return {Number} New date represented as milliseconds.
|
670
|
+
*/
|
671
|
+
|
672
|
+
/**
|
673
|
+
* @method setUTCFullYear
|
674
|
+
* Sets the full year (4 digits for 4-digit years) for a specified date according
|
675
|
+
* to universal time.
|
676
|
+
*
|
677
|
+
* If you do not specify the `monthValue` and `dayValue` parameters, the values returned from the
|
678
|
+
* `getMonth` and `getDate` methods are used.
|
679
|
+
*
|
680
|
+
* If a parameter you specify is outside of the expected range, `setUTCFullYear` attempts to update
|
681
|
+
* the other parameters and the date information in the `Date` object accordingly. For example, if you
|
682
|
+
* specify 15 for `monthValue`, the year is incremented by 1 (year + 1), and 3 is used for the month.
|
683
|
+
*
|
684
|
+
* theBigDay = new Date();
|
685
|
+
* theBigDay.setUTCFullYear(1997);
|
686
|
+
*
|
687
|
+
* @param {Number} yearValue An integer specifying the numeric value of the year, for example, 1995.
|
688
|
+
* @param {Number} monthValue An integer between 0 and 11 representing the months January through
|
689
|
+
* December.
|
690
|
+
* @param {Number} dayValue An integer between 1 and 31 representing the day of the month. If you
|
691
|
+
* specify the `dayValue` parameter, you must also specify the `monthValue`.
|
692
|
+
* @return {Number} New date represented as milliseconds.
|
693
|
+
*/
|
694
|
+
|
695
|
+
/**
|
696
|
+
* @method setUTCHours
|
697
|
+
* Sets the hour (0-23) for a specified date according to universal time.
|
698
|
+
*
|
699
|
+
* If you do not specify the `minutesValue`, `secondsValue`, and `msValue` parameters, the values
|
700
|
+
* returned from the `getUTCMinutes`, `getUTCSeconds`, and `getUTCMilliseconds` methods are used.
|
701
|
+
*
|
702
|
+
* If a parameter you specify is outside of the expected range, `setUTCHours` attempts to update the
|
703
|
+
* date information in the `Date` object accordingly. For example, if you use 100 for `secondsValue`,
|
704
|
+
* the minutes will be incremented by 1 (min + 1), and 40 will be used for seconds.
|
705
|
+
*
|
706
|
+
* theBigDay = new Date();
|
707
|
+
* theBigDay.setUTCHours(8);
|
708
|
+
*
|
709
|
+
* @param {Number} hoursValue An integer between 0 and 23, representing the hour.
|
710
|
+
* @param {Number} minutesValue An integer between 0 and 59, representing the minutes.
|
711
|
+
* @param {Number} secondsValue An integer between 0 and 59, representing the seconds. If you specify the
|
712
|
+
* `secondsValue` parameter, you must also specify the `minutesValue`.
|
713
|
+
* @param {Number} msValue A number between 0 and 999, representing the milliseconds. If you specify the
|
714
|
+
* `msValue` parameter, you must also specify the `minutesValue` and `secondsValue`.
|
715
|
+
* @return {Number} New date represented as milliseconds.
|
716
|
+
*/
|
717
|
+
|
718
|
+
/**
|
719
|
+
* @method setUTCMilliseconds
|
720
|
+
* Sets the milliseconds (0-999) for a specified date according to universal time.
|
721
|
+
*
|
722
|
+
* If a parameter you specify is outside of the expected range, `setUTCMilliseconds` attempts to
|
723
|
+
* update the date information in the `Date` object accordingly. For example, if you use 1100 for
|
724
|
+
* `millisecondsValue`, the seconds stored in the Date object will be incremented by 1, and 100 will
|
725
|
+
* be used for milliseconds.
|
726
|
+
*
|
727
|
+
* theBigDay = new Date();
|
728
|
+
* theBigDay.setUTCMilliseconds(500);
|
729
|
+
*
|
730
|
+
* @param {Number} millisecondsValue A number between 0 and 999, representing the milliseconds.
|
731
|
+
* @return {Number} New date represented as milliseconds.
|
732
|
+
*/
|
733
|
+
|
734
|
+
/**
|
735
|
+
* @method setUTCMinutes
|
736
|
+
* Sets the minutes (0-59) for a specified date according to universal time.
|
737
|
+
*
|
738
|
+
* If you do not specify the `secondsValue` and `msValue` parameters, the values returned from
|
739
|
+
* `getUTCSeconds` and `getUTCMilliseconds` methods are used.
|
740
|
+
*
|
741
|
+
* If a parameter you specify is outside of the expected range, `setUTCMinutes` attempts to update the
|
742
|
+
* date information in the `Date` object accordingly. For example, if you use 100 for `secondsValue`,
|
743
|
+
* the minutes (`minutesValue`) will be incremented by 1 (`minutesValue` + 1), and 40 will be used for
|
744
|
+
* seconds.
|
745
|
+
*
|
746
|
+
* theBigDay = new Date();
|
747
|
+
* theBigDay.setUTCMinutes(43);
|
748
|
+
*
|
749
|
+
* @param {Number} minutesValue An integer between 0 and 59, representing the minutes.
|
750
|
+
* @param {Number} secondsValue An integer between 0 and 59, representing the seconds. If you specify the `secondsValue` parameter, you must also specify the `minutesValue`.
|
751
|
+
* @param {Number} msValue A number between 0 and 999, representing the milliseconds. If you specify the `msValue` parameter, you must also specify the `minutesValue` and `secondsValue`.
|
752
|
+
* @return {Number} New date represented as milliseconds.
|
753
|
+
*/
|
754
|
+
|
755
|
+
/**
|
756
|
+
* @method setUTCMonth
|
757
|
+
* Sets the month (0-11) for a specified date according to universal time.
|
758
|
+
*
|
759
|
+
* If you do not specify the `dayValue` parameter, the value returned from the `getUTCDate` method is
|
760
|
+
* used.
|
761
|
+
*
|
762
|
+
* If a parameter you specify is outside of the expected range, `setUTCMonth` attempts to update the
|
763
|
+
* date information in the `Date` object accordingly. For example, if you use 15 for `monthValue`, the
|
764
|
+
* year will be incremented by 1 (year + 1), and 3 will be used for month.
|
765
|
+
*
|
766
|
+
* theBigDay = new Date();
|
767
|
+
* theBigDay.setUTCMonth(11);
|
768
|
+
*
|
769
|
+
* @param {Number} monthValue An integer between 0 and 11, representing the months January through
|
770
|
+
* December.
|
771
|
+
* @param {Number} dayValue An integer from 1 to 31, representing the day of the month.
|
772
|
+
* @return {Number} New date represented as milliseconds.
|
773
|
+
*/
|
774
|
+
|
775
|
+
/**
|
776
|
+
* @method setUTCSeconds
|
777
|
+
* Sets the seconds (0-59) for a specified date according to universal time.
|
778
|
+
*
|
779
|
+
* If you do not specify the `msValue` parameter, the value returned from the `getUTCMilliseconds`
|
780
|
+
* methods is used.
|
781
|
+
*
|
782
|
+
* If a parameter you specify is outside of the expected range, `setUTCSeconds` attempts to update the
|
783
|
+
* date information in the `Date` object accordingly. For example, if you use 100 for `secondsValue`,
|
784
|
+
* the minutes stored in the `Date` object will be incremented by 1, and 40 will be used for seconds.
|
785
|
+
*
|
786
|
+
* theBigDay = new Date();
|
787
|
+
* theBigDay.setUTCSeconds(20);
|
788
|
+
*
|
789
|
+
* @param {Number} secondsValue An integer between 0 and 59.
|
790
|
+
* @param {Number} msValue A number between 0 and 999, representing the milliseconds.
|
791
|
+
* @return {Number} New date represented as milliseconds.
|
792
|
+
*/
|
793
|
+
|
794
|
+
/**
|
795
|
+
* @method toDateString
|
796
|
+
* Returns the "date" portion of the Date as a human-readable string in American English.
|
797
|
+
*
|
798
|
+
* {@link Date} instances refer to a specific point in time. Calling `toString` will return the
|
799
|
+
* date formatted in a human readable form in American English. In SpiderMonkey, this consists of the
|
800
|
+
* date portion (day, month, and year) followed by the time portion (hours, minutes, seconds, and time
|
801
|
+
* zone). Sometimes it is desirable to obtain a string of the date portion; such a thing can be
|
802
|
+
* accomplished with the `toDateString` method.
|
803
|
+
*
|
804
|
+
* The `toDateString` method is especially useful because compliant engines implementing ECMA-262 may
|
805
|
+
* differ in the string obtained from `toString` for `Date` objects, as the format is implementation-
|
806
|
+
* dependent and simple string slicing approaches may not produce consistent results across multiple
|
807
|
+
* engines.
|
808
|
+
*
|
809
|
+
* var d = new Date(1993, 6, 28, 14, 39, 7);
|
810
|
+
* println(d.toString()); // prints Wed Jul 28 1993 14:39:07 GMT-0600 (PDT)
|
811
|
+
* println(d.toDateString()); // prints Wed Jul 28 1993
|
812
|
+
*
|
813
|
+
* @return {String} Human-readable string, in local time.
|
814
|
+
*/
|
815
|
+
|
816
|
+
/**
|
817
|
+
* @method toLocaleDateString
|
818
|
+
* Returns the "date" portion of the Date as a string, using the current locale's
|
819
|
+
* conventions.
|
820
|
+
*
|
821
|
+
* The `toLocaleDateString` method relies on the underlying operating system in formatting dates. It
|
822
|
+
* converts the date to a string using the formatting convention of the operating system where the
|
823
|
+
* script is running. For example, in the United States, the month appears before the date (04/15/98),
|
824
|
+
* whereas in Germany the date appears before the month (15.04.98). If the operating system is not
|
825
|
+
* year-2000 compliant and does not use the full year for years before 1900 or over 2000,
|
826
|
+
* `toLocaleDateString` returns a string that is not year-2000 compliant. `toLocaleDateString` behaves
|
827
|
+
* similarly to `toString` when converting a year that the operating system does not properly format.
|
828
|
+
*
|
829
|
+
* Methods such as `getDate`, `getMonth`, and `getFullYear` give more portable results than
|
830
|
+
* `toLocaleDateString`. Use `toLocaleDateString` when the intent is to display to the user a string
|
831
|
+
* formatted using the regional format chosen by the user. Be aware that this method, due to its
|
832
|
+
* nature, behaves differently depending on the operating system and on the user's settings.
|
833
|
+
*
|
834
|
+
* In the following example, `today` is a `Date` object:
|
835
|
+
*
|
836
|
+
* today = new Date(95,11,18,17,28,35) //months are represented by 0 to 11
|
837
|
+
* today.toLocaleDateString()
|
838
|
+
*
|
839
|
+
* In this example, `toLocaleDateString` returns a string value that is similar to the following form.
|
840
|
+
* The exact format depends on the platform, locale and user's settings.
|
841
|
+
*
|
842
|
+
* 12/18/95
|
843
|
+
*
|
844
|
+
* You shouldn't use this method in contexts where you rely on a particular format or locale.
|
845
|
+
*
|
846
|
+
* "Last visit: " + someDate.toLocaleDateString(); // Good example
|
847
|
+
* "Last visit was at " + someDate.toLocaleDateString(); // Bad example
|
848
|
+
*
|
849
|
+
* @return {String} Human-readable string that may be formatted differently depending
|
850
|
+
* on the country.
|
851
|
+
*/
|
852
|
+
|
853
|
+
/**
|
854
|
+
* @method toLocaleString
|
855
|
+
* Converts a date to a string, using the current locale's conventions. Overrides
|
856
|
+
* the `Object.toLocaleString` method.
|
857
|
+
*
|
858
|
+
* The `toLocaleString` method relies on the underlying operating system in formatting dates. It
|
859
|
+
* converts the date to a string using the formatting convention of the operating system where the
|
860
|
+
* script is running. For example, in the United States, the month appears before the date (04/15/98),
|
861
|
+
* whereas in Germany the date appears before the month (15.04.98). If the operating system is not
|
862
|
+
* year-2000 compliant and does not use the full year for years before 1900 or over 2000,
|
863
|
+
* `toLocaleString` returns a string that is not year-2000 compliant. `toLocaleString` behaves
|
864
|
+
* similarly to `toString` when converting a year that the operating system does not properly format.
|
865
|
+
*
|
866
|
+
* Methods such as `getDate`, `getMonth`, `getFullYear`, `getHours`, `getMinutes`, and `getSeconds`
|
867
|
+
* give more portable results than `toLocaleString`. Use `toLocaleString` when the intent is to
|
868
|
+
* display to the user a string formatted using the regional format chosen by the user. Be aware that
|
869
|
+
* this method, due to its nature, behaves differently depending on the operating system and on the
|
870
|
+
* user's settings.
|
871
|
+
*
|
872
|
+
* In the following example, `today` is a `Date` object:
|
873
|
+
*
|
874
|
+
* today = new Date(95,11,18,17,28,35); //months are represented by 0 to 11
|
875
|
+
* today.toLocaleString();
|
876
|
+
*
|
877
|
+
* In this example, `toLocaleString` returns a string value that is similar to the following form. The
|
878
|
+
* exact format depends on the platform, locale and user's settings.
|
879
|
+
*
|
880
|
+
* 12/18/95 17:28:35
|
881
|
+
*
|
882
|
+
* You shouldn't use this method in contexts where you rely on a particular format or locale.
|
883
|
+
*
|
884
|
+
* "Last visit: " + someDate.toLocaleString(); // Good example
|
885
|
+
* "Last visit was at " + someDate.toLocaleString(); // Bad example
|
886
|
+
*
|
887
|
+
* @return {String} Human-readable string that may be formatted differently depending
|
888
|
+
* on the country.
|
889
|
+
*/
|
890
|
+
|
891
|
+
/**
|
892
|
+
* @method toLocaleTimeString
|
893
|
+
* Returns the "time" portion of the Date as a string, using the current locale's
|
894
|
+
* conventions.
|
895
|
+
*
|
896
|
+
* The `toLocaleTimeString` method relies on the underlying operating system in formatting dates. It
|
897
|
+
* converts the date to a string using the formatting convention of the operating system where the
|
898
|
+
* script is running. For example, in the United States, the month appears before the date (04/15/98),
|
899
|
+
* whereas in Germany the date appears before the month (15.04.98).
|
900
|
+
*
|
901
|
+
* Methods such as `getHours`, `getMinutes`, and `getSeconds` give more consistent results than
|
902
|
+
* `toLocaleTimeString`. Use `toLocaleTimeString` when the intent is to display to the user a string
|
903
|
+
* formatted using the regional format chosen by the user. Be aware that this method, due to its
|
904
|
+
* nature, behaves differently depending on the operating system and on the user's settings.
|
905
|
+
*
|
906
|
+
* In the following example, `today` is a `Date` object:
|
907
|
+
*
|
908
|
+
* today = new Date(95,11,18,17,28,35) //months are represented by 0 to 11
|
909
|
+
* today.toLocaleTimeString()
|
910
|
+
*
|
911
|
+
* In this example, `toLocaleTimeString` returns a string value that is similar to the following form.
|
912
|
+
* The exact format depends on the platform.
|
913
|
+
*
|
914
|
+
* 17:28:35
|
915
|
+
*
|
916
|
+
* You shouldn't use this method in contexts where you rely on a particular format or locale.
|
917
|
+
*
|
918
|
+
* "Last visit: " + someDate.toLocaleTimeString(); // Good example
|
919
|
+
* "Last visit was at " + someDate.toLocaleTimeString(); // Bad example
|
920
|
+
*
|
921
|
+
* @return {String} Human-readable string that may be formatted differently depending
|
922
|
+
* on the country.
|
923
|
+
*/
|
924
|
+
|
925
|
+
/**
|
926
|
+
* @method toString
|
927
|
+
* Returns a string representing the specified Date object. Overrides the
|
928
|
+
* `Object.prototype.toString` method.
|
929
|
+
*
|
930
|
+
* The `Date` object overrides the toString method of the Object object; it does not inherit
|
931
|
+
* `Object.toString`. For `Date` objects, the `toString` method returns a string representation of the
|
932
|
+
* object.
|
933
|
+
*
|
934
|
+
* `toString` always returns a string representation of the date in American English.
|
935
|
+
*
|
936
|
+
* JavaScript calls the `toString` method automatically when a date is to be represented as a text
|
937
|
+
* value or when a date is referred to in a string concatenation.
|
938
|
+
*
|
939
|
+
* The following assigns the `toString` value of a `Date` object to `myVar`:
|
940
|
+
*
|
941
|
+
* x = new Date();
|
942
|
+
* myVar=x.toString(); //assigns a value to myVar similar to:
|
943
|
+
* //Mon Sep 28 1998 14:36:22 GMT-0700 (Pacific Daylight Time)
|
944
|
+
*
|
945
|
+
* @return {String} Human-readable string of the date in local time.
|
946
|
+
*/
|
947
|
+
|
948
|
+
/**
|
949
|
+
* @method toTimeString
|
950
|
+
* Returns the "time" portion of the Date as a human-readable string.
|
951
|
+
*
|
952
|
+
* {@link Date} instances refer to a specific point in time. Calling `toString` will return the
|
953
|
+
* date formatted in a human readable form in American English. In SpiderMonkey, this consists of the
|
954
|
+
* date portion (day, month, and year) followed by the time portion (hours, minutes, seconds, and
|
955
|
+
* time zone). Sometimes it is desirable to obtain a string of the time portion; such a thing can be
|
956
|
+
* accomplished with the `toTimeString` method.
|
957
|
+
*
|
958
|
+
* The `toTimeString` method is especially useful because compliant engines implementing ECMA-262 may
|
959
|
+
* differ in the string obtained from `toString` for `Date` objects, as the format is implementation-
|
960
|
+
* dependent; simple string slicing approaches may not produce consistent results across multiple
|
961
|
+
* engines.
|
962
|
+
*
|
963
|
+
* var d = new Date(1993, 6, 28, 14, 39, 7);
|
964
|
+
* println(d.toString()); // prints Wed Jul 28 1993 14:39:07 GMT-0600 (PDT)
|
965
|
+
* println(d.toTimeString()); // prints 14:39:07 GMT-0600 (PDT)
|
966
|
+
*
|
967
|
+
* @return {String} Human-readable string of the date in local time.
|
968
|
+
*/
|
969
|
+
|
970
|
+
/**
|
971
|
+
* @method toUTCString
|
972
|
+
* Converts a date to a string, using the universal time convention.
|
973
|
+
*
|
974
|
+
* The value returned by `toUTCString` is a readable string in American English in the UTC time zone.
|
975
|
+
* The format of the return value may vary according to the platform.
|
976
|
+
*
|
977
|
+
* var today = new Date();
|
978
|
+
* var UTCstring = today.toUTCString();
|
979
|
+
* // Mon, 03 Jul 2006 21:44:38 GMT
|
980
|
+
*
|
981
|
+
* @return {String} String of the date in UTC.
|
982
|
+
*/
|
983
|
+
|
984
|
+
/**
|
985
|
+
* @method valueOf
|
986
|
+
* Returns the primitive value of a Date object. Overrides the
|
987
|
+
* Object.prototype.valueOf method.
|
988
|
+
*
|
989
|
+
* The `valueOf` method returns the primitive value of a `Date` object as a number data type, the
|
990
|
+
* number of milliseconds since midnight 01 January, 1970 UTC.
|
991
|
+
*
|
992
|
+
* This method is functionally equivalent to the `getTime` method.
|
993
|
+
*
|
994
|
+
* This method is usually called internally by JavaScript and not explicitly in code.
|
995
|
+
*
|
996
|
+
* x = new Date(56, 6, 17);
|
997
|
+
* myVar = x.valueOf(); //assigns -424713600000 to myVar
|
998
|
+
*
|
999
|
+
* @return {Number} Date represented as milliseconds.
|
1000
|
+
*/
|
1001
|
+
|
1002
|
+
// ECMAScript 5 methods
|
1003
|
+
|
1004
|
+
/**
|
1005
|
+
* @method toJSON
|
1006
|
+
* Returns a JSON representation of the Date object.
|
1007
|
+
*
|
1008
|
+
* Date instances refer to a specific point in time. Calling `toJSON()`
|
1009
|
+
* returns a JSON formatted string representing the Date object's
|
1010
|
+
* value. This method is generally intended to, by default, usefully
|
1011
|
+
* serialize Date objects during JSON serialization.
|
1012
|
+
*
|
1013
|
+
* var jsonDate = (new Date()).toJSON();
|
1014
|
+
* var backToDate = new Date(jsonDate);
|
1015
|
+
*
|
1016
|
+
* console.log("Serialized date object: " + jsonDate);
|
1017
|
+
* // Serialized date object: 2013-01-17T12:59:08.449Z
|
1018
|
+
*
|
1019
|
+
* **NOTE:** This method is part of the ECMAScript 5 standard.
|
1020
|
+
*
|
1021
|
+
* @return {String} Date value in `YYYY-MM-DDTHH-MM-SS.MMMZ` format.
|
1022
|
+
*/
|