ngx-hana-nameserver-history-viewer 1.1.3 → 1.1.9-3.beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/esm2020/ngx-hana-nameserver-history-viewer.mjs +5 -0
- package/esm2020/public-api.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/alert/alert.component.mjs +68 -0
- package/esm2020/src/nameserver-history-viewer/components/alert/alert.module.mjs +22 -0
- package/esm2020/src/nameserver-history-viewer/components/alert/index.mjs +3 -0
- package/esm2020/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.mjs +112 -0
- package/esm2020/src/nameserver-history-viewer/components/file-drop-input/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/index.mjs +9 -0
- package/esm2020/src/nameserver-history-viewer/components/instruction/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/instruction/instruction.component.mjs +42 -0
- package/esm2020/src/nameserver-history-viewer/components/nameserver-history.component.mjs +550 -0
- package/esm2020/src/nameserver-history-viewer/components/port-selector/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/port-selector/port-selector.component.mjs +69 -0
- package/esm2020/src/nameserver-history-viewer/components/port-selector/port-selector.service.mjs +41 -0
- package/esm2020/src/nameserver-history-viewer/components/progress-bar/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.mjs +40 -0
- package/esm2020/src/nameserver-history-viewer/components/time-range-selector/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.mjs +70 -0
- package/esm2020/src/nameserver-history-viewer/components/timezone-selector/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.mjs +90 -0
- package/esm2020/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.mjs +49 -0
- package/esm2020/src/nameserver-history-viewer/index.mjs +3 -0
- package/esm2020/src/nameserver-history-viewer/nameserver-history.module.mjs +63 -0
- package/esm2020/src/nameserver-history-viewer/services/chart.service.mjs +323 -0
- package/esm2020/src/nameserver-history-viewer/services/file.service.mjs +390 -0
- package/esm2020/src/nameserver-history-viewer/services/index.mjs +4 -0
- package/esm2020/src/nameserver-history-viewer/services/ui.service.mjs +557 -0
- package/esm2020/src/nameserver-history-viewer/types/abort.types.mjs +6 -0
- package/esm2020/src/nameserver-history-viewer/types/alert.types.mjs +8 -0
- package/esm2020/src/nameserver-history-viewer/types/chart-content-data-item.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/chart-content-data.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/chart-content-header.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/chart-content-time.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/chart-content.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/color-rgba.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/html-element.type.mjs +9 -0
- package/esm2020/src/nameserver-history-viewer/types/index.mjs +28 -0
- package/esm2020/src/nameserver-history-viewer/types/item.types.mjs +14 -0
- package/esm2020/src/nameserver-history-viewer/types/legend-color.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-backup.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-columnstore.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-host.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-item.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-persistence.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-rowstore.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-server.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-session-admission-control.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-sql.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-sync-primitives.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-threads.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/port.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/scale-group.types.mjs +17 -0
- package/esm2020/src/nameserver-history-viewer/types/unit-category.types.mjs +10 -0
- package/esm2020/src/nameserver-history-viewer/types/unit.types.mjs +14 -0
- package/esm2020/src/nameserver-history-viewer/utils/chart-util.mjs +25 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/chartjs_ext.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/data_culling.mjs +57 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/data_mipmap.mjs +139 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/index.mjs +41 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.mjs +106 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/responsive_downsample_plugin.mjs +168 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/utils.mjs +114 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-zoom/chart.zoom.mjs +527 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-zoom/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/utils/file-util.mjs +154 -0
- package/esm2020/src/nameserver-history-viewer/utils/index.mjs +5 -0
- package/esm2020/src/nameserver-history-viewer/utils/time-util.mjs +101 -0
- package/esm2020/src/nameserver-history-viewer/utils/ui-util.mjs +162 -0
- package/{dist/fesm2015/ngx-hana-nameserver-history-viewer.js → fesm2015/ngx-hana-nameserver-history-viewer.mjs} +829 -2561
- package/fesm2015/ngx-hana-nameserver-history-viewer.mjs.map +1 -0
- package/fesm2020/ngx-hana-nameserver-history-viewer.mjs +4081 -0
- package/fesm2020/ngx-hana-nameserver-history-viewer.mjs.map +1 -0
- package/ngx-hana-nameserver-history-viewer.d.ts +5 -0
- package/package.json +66 -88
- package/{dist/public-api.d.ts → public-api.d.ts} +0 -0
- package/{dist/src → src}/nameserver-history-viewer/components/alert/alert.component.d.ts +4 -1
- package/src/nameserver-history-viewer/components/alert/alert.module.d.ts +8 -0
- package/{dist/src → src}/nameserver-history-viewer/components/alert/index.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.d.ts +3 -0
- package/{dist/src → src}/nameserver-history-viewer/components/file-drop-input/index.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/components/index.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/components/instruction/index.d.ts +0 -0
- package/src/nameserver-history-viewer/components/instruction/instruction.component.d.ts +17 -0
- package/{dist/src → src}/nameserver-history-viewer/components/nameserver-history.component.d.ts +33 -14
- package/{dist/src → src}/nameserver-history-viewer/components/port-selector/index.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/components/port-selector/port-selector.component.d.ts +4 -1
- package/{dist/src → src}/nameserver-history-viewer/components/port-selector/port-selector.service.d.ts +3 -0
- package/{dist/src → src}/nameserver-history-viewer/components/progress-bar/index.d.ts +0 -0
- package/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.d.ts +6 -0
- package/{dist/src → src}/nameserver-history-viewer/components/time-range-selector/index.d.ts +0 -0
- package/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.d.ts +19 -0
- package/{dist/src → src}/nameserver-history-viewer/components/timezone-selector/index.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.d.ts +3 -0
- package/{dist/src → src}/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.d.ts +3 -0
- package/src/nameserver-history-viewer/index.d.ts +2 -0
- package/src/nameserver-history-viewer/nameserver-history.module.d.ts +19 -0
- package/{dist/src → src}/nameserver-history-viewer/services/chart.service.d.ts +4 -1
- package/{dist/src → src}/nameserver-history-viewer/services/file.service.d.ts +3 -0
- package/{dist/src → src}/nameserver-history-viewer/services/index.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/services/ui.service.d.ts +5 -2
- package/{dist/src → src}/nameserver-history-viewer/types/abort.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/alert.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/chart-content-data-item.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/chart-content-data.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/chart-content-header.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/chart-content-time.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/chart-content.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/color-rgba.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/html-element.type.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/index.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/item.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/legend-color.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/load-history-info-backup.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/load-history-info-columnstore.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/load-history-info-host.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/load-history-info-item.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/load-history-info-persistence.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/load-history-info-rowstore.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/load-history-info-server.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/load-history-info-session-admission-control.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/load-history-info-sql.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/load-history-info-sync-primitives.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/load-history-info-threads.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/load-history-info.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/port.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/scale-group.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/unit-category.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/types/unit.types.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/chart-util.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/chartjs-downsample/chartjs_ext.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/chartjs-downsample/data_culling.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/chartjs-downsample/data_mipmap.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/chartjs-downsample/index.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.d.ts +1 -1
- package/{dist/src → src}/nameserver-history-viewer/utils/chartjs-downsample/responsive_downsample_plugin.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/chartjs-downsample/utils.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/chartjs-zoom/chart.zoom.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/chartjs-zoom/index.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/file-util.d.ts +6 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/index.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/time-util.d.ts +0 -0
- package/{dist/src → src}/nameserver-history-viewer/utils/ui-util.d.ts +0 -0
- package/.idea/codeStyles/Project.xml +0 -17
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/ngx-hana-nameserver-history-viewer.iml +0 -13
- package/.idea/vcs.xml +0 -6
- package/.travis.yml +0 -35
- package/angular.json +0 -125
- package/dist/LICENSE +0 -21
- package/dist/README.md +0 -93
- package/dist/bundles/ngx-hana-nameserver-history-viewer.umd.js +0 -6761
- package/dist/bundles/ngx-hana-nameserver-history-viewer.umd.js.map +0 -1
- package/dist/bundles/ngx-hana-nameserver-history-viewer.umd.min.js +0 -2
- package/dist/bundles/ngx-hana-nameserver-history-viewer.umd.min.js.map +0 -1
- package/dist/esm2015/ngx-hana-nameserver-history-viewer.js +0 -10
- package/dist/esm2015/public-api.js +0 -6
- package/dist/esm2015/src/nameserver-history-viewer/components/alert/alert.component.js +0 -114
- package/dist/esm2015/src/nameserver-history-viewer/components/alert/alert.module.js +0 -21
- package/dist/esm2015/src/nameserver-history-viewer/components/alert/index.js +0 -7
- package/dist/esm2015/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.js +0 -141
- package/dist/esm2015/src/nameserver-history-viewer/components/file-drop-input/index.js +0 -6
- package/dist/esm2015/src/nameserver-history-viewer/components/index.js +0 -13
- package/dist/esm2015/src/nameserver-history-viewer/components/instruction/index.js +0 -6
- package/dist/esm2015/src/nameserver-history-viewer/components/instruction/instruction.component.js +0 -62
- package/dist/esm2015/src/nameserver-history-viewer/components/nameserver-history.component.js +0 -868
- package/dist/esm2015/src/nameserver-history-viewer/components/port-selector/index.js +0 -6
- package/dist/esm2015/src/nameserver-history-viewer/components/port-selector/port-selector.component.js +0 -93
- package/dist/esm2015/src/nameserver-history-viewer/components/port-selector/port-selector.service.js +0 -60
- package/dist/esm2015/src/nameserver-history-viewer/components/progress-bar/index.js +0 -6
- package/dist/esm2015/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.js +0 -35
- package/dist/esm2015/src/nameserver-history-viewer/components/time-range-selector/index.js +0 -6
- package/dist/esm2015/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.js +0 -68
- package/dist/esm2015/src/nameserver-history-viewer/components/timezone-selector/index.js +0 -6
- package/dist/esm2015/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.js +0 -151
- package/dist/esm2015/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.js +0 -80
- package/dist/esm2015/src/nameserver-history-viewer/index.js +0 -6
- package/dist/esm2015/src/nameserver-history-viewer/nameserver-history.module.js +0 -42
- package/dist/esm2015/src/nameserver-history-viewer/services/chart.service.js +0 -504
- package/dist/esm2015/src/nameserver-history-viewer/services/file.service.js +0 -488
- package/dist/esm2015/src/nameserver-history-viewer/services/index.js +0 -8
- package/dist/esm2015/src/nameserver-history-viewer/services/ui.service.js +0 -922
- package/dist/esm2015/src/nameserver-history-viewer/types/abort.types.js +0 -13
- package/dist/esm2015/src/nameserver-history-viewer/types/alert.types.js +0 -13
- package/dist/esm2015/src/nameserver-history-viewer/types/chart-content-data-item.types.js +0 -15
- package/dist/esm2015/src/nameserver-history-viewer/types/chart-content-data.types.js +0 -9
- package/dist/esm2015/src/nameserver-history-viewer/types/chart-content-header.types.js +0 -15
- package/dist/esm2015/src/nameserver-history-viewer/types/chart-content-time.types.js +0 -9
- package/dist/esm2015/src/nameserver-history-viewer/types/chart-content.types.js +0 -21
- package/dist/esm2015/src/nameserver-history-viewer/types/color-rgba.types.js +0 -19
- package/dist/esm2015/src/nameserver-history-viewer/types/html-element.type.js +0 -19
- package/dist/esm2015/src/nameserver-history-viewer/types/index.js +0 -32
- package/dist/esm2015/src/nameserver-history-viewer/types/item.types.js +0 -19
- package/dist/esm2015/src/nameserver-history-viewer/types/legend-color.types.js +0 -9
- package/dist/esm2015/src/nameserver-history-viewer/types/load-history-info-backup.types.js +0 -19
- package/dist/esm2015/src/nameserver-history-viewer/types/load-history-info-columnstore.types.js +0 -19
- package/dist/esm2015/src/nameserver-history-viewer/types/load-history-info-host.types.js +0 -35
- package/dist/esm2015/src/nameserver-history-viewer/types/load-history-info-item.types.js +0 -31
- package/dist/esm2015/src/nameserver-history-viewer/types/load-history-info-persistence.types.js +0 -27
- package/dist/esm2015/src/nameserver-history-viewer/types/load-history-info-rowstore.types.js +0 -15
- package/dist/esm2015/src/nameserver-history-viewer/types/load-history-info-server.types.js +0 -25
- package/dist/esm2015/src/nameserver-history-viewer/types/load-history-info-session-admission-control.types.js +0 -25
- package/dist/esm2015/src/nameserver-history-viewer/types/load-history-info-sql.types.js +0 -37
- package/dist/esm2015/src/nameserver-history-viewer/types/load-history-info-sync-primitives.types.js +0 -15
- package/dist/esm2015/src/nameserver-history-viewer/types/load-history-info-threads.types.js +0 -23
- package/dist/esm2015/src/nameserver-history-viewer/types/load-history-info.types.js +0 -31
- package/dist/esm2015/src/nameserver-history-viewer/types/port.types.js +0 -17
- package/dist/esm2015/src/nameserver-history-viewer/types/scale-group.types.js +0 -35
- package/dist/esm2015/src/nameserver-history-viewer/types/unit-category.types.js +0 -21
- package/dist/esm2015/src/nameserver-history-viewer/types/unit.types.js +0 -19
- package/dist/esm2015/src/nameserver-history-viewer/utils/chart-util.js +0 -38
- package/dist/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/chartjs_ext.js +0 -100
- package/dist/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/data_culling.js +0 -88
- package/dist/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/data_mipmap.js +0 -222
- package/dist/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/index.js +0 -46
- package/dist/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.js +0 -166
- package/dist/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/responsive_downsample_plugin.js +0 -311
- package/dist/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/utils.js +0 -130
- package/dist/esm2015/src/nameserver-history-viewer/utils/chartjs-zoom/chart.zoom.js +0 -827
- package/dist/esm2015/src/nameserver-history-viewer/utils/chartjs-zoom/index.js +0 -6
- package/dist/esm2015/src/nameserver-history-viewer/utils/file-util.js +0 -186
- package/dist/esm2015/src/nameserver-history-viewer/utils/index.js +0 -9
- package/dist/esm2015/src/nameserver-history-viewer/utils/time-util.js +0 -139
- package/dist/esm2015/src/nameserver-history-viewer/utils/ui-util.js +0 -239
- package/dist/esm5/ngx-hana-nameserver-history-viewer.js +0 -10
- package/dist/esm5/public-api.js +0 -6
- package/dist/esm5/src/nameserver-history-viewer/components/alert/alert.component.js +0 -146
- package/dist/esm5/src/nameserver-history-viewer/components/alert/alert.module.js +0 -25
- package/dist/esm5/src/nameserver-history-viewer/components/alert/index.js +0 -7
- package/dist/esm5/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.js +0 -155
- package/dist/esm5/src/nameserver-history-viewer/components/file-drop-input/index.js +0 -6
- package/dist/esm5/src/nameserver-history-viewer/components/index.js +0 -13
- package/dist/esm5/src/nameserver-history-viewer/components/instruction/index.js +0 -6
- package/dist/esm5/src/nameserver-history-viewer/components/instruction/instruction.component.js +0 -67
- package/dist/esm5/src/nameserver-history-viewer/components/nameserver-history.component.js +0 -1116
- package/dist/esm5/src/nameserver-history-viewer/components/port-selector/index.js +0 -6
- package/dist/esm5/src/nameserver-history-viewer/components/port-selector/port-selector.component.js +0 -93
- package/dist/esm5/src/nameserver-history-viewer/components/port-selector/port-selector.service.js +0 -85
- package/dist/esm5/src/nameserver-history-viewer/components/progress-bar/index.js +0 -6
- package/dist/esm5/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.js +0 -26
- package/dist/esm5/src/nameserver-history-viewer/components/time-range-selector/index.js +0 -6
- package/dist/esm5/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.js +0 -58
- package/dist/esm5/src/nameserver-history-viewer/components/timezone-selector/index.js +0 -6
- package/dist/esm5/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.js +0 -180
- package/dist/esm5/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.js +0 -110
- package/dist/esm5/src/nameserver-history-viewer/index.js +0 -6
- package/dist/esm5/src/nameserver-history-viewer/nameserver-history.module.js +0 -46
- package/dist/esm5/src/nameserver-history-viewer/services/chart.service.js +0 -659
- package/dist/esm5/src/nameserver-history-viewer/services/file.service.js +0 -609
- package/dist/esm5/src/nameserver-history-viewer/services/index.js +0 -8
- package/dist/esm5/src/nameserver-history-viewer/services/ui.service.js +0 -1141
- package/dist/esm5/src/nameserver-history-viewer/types/abort.types.js +0 -13
- package/dist/esm5/src/nameserver-history-viewer/types/alert.types.js +0 -13
- package/dist/esm5/src/nameserver-history-viewer/types/chart-content-data-item.types.js +0 -15
- package/dist/esm5/src/nameserver-history-viewer/types/chart-content-data.types.js +0 -9
- package/dist/esm5/src/nameserver-history-viewer/types/chart-content-header.types.js +0 -15
- package/dist/esm5/src/nameserver-history-viewer/types/chart-content-time.types.js +0 -9
- package/dist/esm5/src/nameserver-history-viewer/types/chart-content.types.js +0 -21
- package/dist/esm5/src/nameserver-history-viewer/types/color-rgba.types.js +0 -19
- package/dist/esm5/src/nameserver-history-viewer/types/html-element.type.js +0 -19
- package/dist/esm5/src/nameserver-history-viewer/types/index.js +0 -32
- package/dist/esm5/src/nameserver-history-viewer/types/item.types.js +0 -19
- package/dist/esm5/src/nameserver-history-viewer/types/legend-color.types.js +0 -9
- package/dist/esm5/src/nameserver-history-viewer/types/load-history-info-backup.types.js +0 -19
- package/dist/esm5/src/nameserver-history-viewer/types/load-history-info-columnstore.types.js +0 -19
- package/dist/esm5/src/nameserver-history-viewer/types/load-history-info-host.types.js +0 -35
- package/dist/esm5/src/nameserver-history-viewer/types/load-history-info-item.types.js +0 -31
- package/dist/esm5/src/nameserver-history-viewer/types/load-history-info-persistence.types.js +0 -27
- package/dist/esm5/src/nameserver-history-viewer/types/load-history-info-rowstore.types.js +0 -15
- package/dist/esm5/src/nameserver-history-viewer/types/load-history-info-server.types.js +0 -25
- package/dist/esm5/src/nameserver-history-viewer/types/load-history-info-session-admission-control.types.js +0 -25
- package/dist/esm5/src/nameserver-history-viewer/types/load-history-info-sql.types.js +0 -37
- package/dist/esm5/src/nameserver-history-viewer/types/load-history-info-sync-primitives.types.js +0 -15
- package/dist/esm5/src/nameserver-history-viewer/types/load-history-info-threads.types.js +0 -23
- package/dist/esm5/src/nameserver-history-viewer/types/load-history-info.types.js +0 -31
- package/dist/esm5/src/nameserver-history-viewer/types/port.types.js +0 -17
- package/dist/esm5/src/nameserver-history-viewer/types/scale-group.types.js +0 -35
- package/dist/esm5/src/nameserver-history-viewer/types/unit-category.types.js +0 -21
- package/dist/esm5/src/nameserver-history-viewer/types/unit.types.js +0 -19
- package/dist/esm5/src/nameserver-history-viewer/utils/chart-util.js +0 -39
- package/dist/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/chartjs_ext.js +0 -100
- package/dist/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/data_culling.js +0 -88
- package/dist/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/data_mipmap.js +0 -316
- package/dist/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/index.js +0 -46
- package/dist/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.js +0 -240
- package/dist/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/responsive_downsample_plugin.js +0 -366
- package/dist/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/utils.js +0 -142
- package/dist/esm5/src/nameserver-history-viewer/utils/chartjs-zoom/chart.zoom.js +0 -827
- package/dist/esm5/src/nameserver-history-viewer/utils/chartjs-zoom/index.js +0 -6
- package/dist/esm5/src/nameserver-history-viewer/utils/file-util.js +0 -187
- package/dist/esm5/src/nameserver-history-viewer/utils/index.js +0 -9
- package/dist/esm5/src/nameserver-history-viewer/utils/time-util.js +0 -139
- package/dist/esm5/src/nameserver-history-viewer/utils/ui-util.js +0 -241
- package/dist/fesm2015/ngx-hana-nameserver-history-viewer.js.map +0 -1
- package/dist/fesm5/ngx-hana-nameserver-history-viewer.js +0 -6887
- package/dist/fesm5/ngx-hana-nameserver-history-viewer.js.map +0 -1
- package/dist/ngx-hana-nameserver-history-viewer.d.ts +0 -5
- package/dist/ngx-hana-nameserver-history-viewer.metadata.json +0 -1
- package/dist/package.json +0 -90
- package/dist/src/nameserver-history-viewer/components/alert/alert.module.d.ts +0 -2
- package/dist/src/nameserver-history-viewer/components/instruction/instruction.component.d.ts +0 -14
- package/dist/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.d.ts +0 -3
- package/dist/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.d.ts +0 -16
- package/dist/src/nameserver-history-viewer/index.d.ts +0 -1
- package/dist/src/nameserver-history-viewer/nameserver-history.module.d.ts +0 -2
- package/ng-package.json +0 -7
- package/public-api.ts +0 -1
- package/src/assets/GitHub-Mark-32px.png +0 -0
- package/src/demo/app.component.html +0 -42
- package/src/demo/app.component.scss +0 -155
- package/src/demo/app.component.ts +0 -157
- package/src/demo/app.module.ts +0 -30
- package/src/demo/demo-service.ts +0 -479
- package/src/demo/demo-util.spec.ts +0 -112
- package/src/demo/demo-util.ts +0 -121
- package/src/demo/index.html +0 -13
- package/src/demo/main.ts +0 -12
- package/src/demo/small-demo.gif +0 -0
- package/src/demo/styles.css +0 -5
- package/src/environments/environment.prod.ts +0 -3
- package/src/environments/environment.ts +0 -15
- package/src/karma.conf.js +0 -31
- package/src/nameserver-history-viewer/components/alert/alert.component.html +0 -10
- package/src/nameserver-history-viewer/components/alert/alert.component.scss +0 -78
- package/src/nameserver-history-viewer/components/alert/alert.component.ts +0 -67
- package/src/nameserver-history-viewer/components/alert/alert.module.ts +0 -14
- package/src/nameserver-history-viewer/components/alert/index.ts +0 -6
- package/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.scss +0 -37
- package/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.spec.ts +0 -47
- package/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.ts +0 -101
- package/src/nameserver-history-viewer/components/file-drop-input/index.ts +0 -1
- package/src/nameserver-history-viewer/components/index.ts +0 -8
- package/src/nameserver-history-viewer/components/instruction/index.ts +0 -1
- package/src/nameserver-history-viewer/components/instruction/instruction.component.html +0 -33
- package/src/nameserver-history-viewer/components/instruction/instruction.component.scss +0 -49
- package/src/nameserver-history-viewer/components/instruction/instruction.component.ts +0 -30
- package/src/nameserver-history-viewer/components/nameserver-history.component.html +0 -70
- package/src/nameserver-history-viewer/components/nameserver-history.component.scss +0 -191
- package/src/nameserver-history-viewer/components/nameserver-history.component.spec.ts +0 -193
- package/src/nameserver-history-viewer/components/nameserver-history.component.ts +0 -666
- package/src/nameserver-history-viewer/components/port-selector/index.ts +0 -1
- package/src/nameserver-history-viewer/components/port-selector/port-selector.component.ts +0 -55
- package/src/nameserver-history-viewer/components/port-selector/port-selector.service.spec.ts +0 -16
- package/src/nameserver-history-viewer/components/port-selector/port-selector.service.ts +0 -40
- package/src/nameserver-history-viewer/components/progress-bar/index.ts +0 -1
- package/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.scss +0 -47
- package/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.ts +0 -27
- package/src/nameserver-history-viewer/components/time-range-selector/index.ts +0 -1
- package/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.scss +0 -31
- package/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.ts +0 -46
- package/src/nameserver-history-viewer/components/timezone-selector/index.ts +0 -1
- package/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.ts +0 -82
- package/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.spec.ts +0 -12
- package/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.ts +0 -53
- package/src/nameserver-history-viewer/index.ts +0 -1
- package/src/nameserver-history-viewer/nameserver-history.module.ts +0 -45
- package/src/nameserver-history-viewer/services/chart.service.ts +0 -343
- package/src/nameserver-history-viewer/services/file.service.spec.ts +0 -3364
- package/src/nameserver-history-viewer/services/file.service.ts +0 -450
- package/src/nameserver-history-viewer/services/index.ts +0 -3
- package/src/nameserver-history-viewer/services/ui.service.spec.ts +0 -43
- package/src/nameserver-history-viewer/services/ui.service.ts +0 -601
- package/src/nameserver-history-viewer/types/abort.types.ts +0 -4
- package/src/nameserver-history-viewer/types/alert.types.ts +0 -6
- package/src/nameserver-history-viewer/types/chart-content-data-item.types.ts +0 -4
- package/src/nameserver-history-viewer/types/chart-content-data.types.ts +0 -6
- package/src/nameserver-history-viewer/types/chart-content-header.types.ts +0 -4
- package/src/nameserver-history-viewer/types/chart-content-time.types.ts +0 -3
- package/src/nameserver-history-viewer/types/chart-content.types.ts +0 -10
- package/src/nameserver-history-viewer/types/color-rgba.types.ts +0 -6
- package/src/nameserver-history-viewer/types/html-element.type.ts +0 -7
- package/src/nameserver-history-viewer/types/index.ts +0 -27
- package/src/nameserver-history-viewer/types/item.types.ts +0 -12
- package/src/nameserver-history-viewer/types/legend-color.types.ts +0 -5
- package/src/nameserver-history-viewer/types/load-history-info-backup.types.ts +0 -8
- package/src/nameserver-history-viewer/types/load-history-info-columnstore.types.ts +0 -9
- package/src/nameserver-history-viewer/types/load-history-info-host.types.ts +0 -17
- package/src/nameserver-history-viewer/types/load-history-info-item.types.ts +0 -14
- package/src/nameserver-history-viewer/types/load-history-info-persistence.types.ts +0 -12
- package/src/nameserver-history-viewer/types/load-history-info-rowstore.types.ts +0 -7
- package/src/nameserver-history-viewer/types/load-history-info-server.types.ts +0 -11
- package/src/nameserver-history-viewer/types/load-history-info-session-admission-control.types.ts +0 -11
- package/src/nameserver-history-viewer/types/load-history-info-sql.types.ts +0 -17
- package/src/nameserver-history-viewer/types/load-history-info-sync-primitives.types.ts +0 -6
- package/src/nameserver-history-viewer/types/load-history-info-threads.types.ts +0 -10
- package/src/nameserver-history-viewer/types/load-history-info.types.ts +0 -24
- package/src/nameserver-history-viewer/types/port.types.ts +0 -5
- package/src/nameserver-history-viewer/types/scale-group.types.ts +0 -15
- package/src/nameserver-history-viewer/types/unit-category.types.ts +0 -8
- package/src/nameserver-history-viewer/types/unit.types.ts +0 -12
- package/src/nameserver-history-viewer/utils/chart-util.spec.ts +0 -22
- package/src/nameserver-history-viewer/utils/chart-util.ts +0 -30
- package/src/nameserver-history-viewer/utils/chartjs-downsample/chartjs_ext.ts +0 -104
- package/src/nameserver-history-viewer/utils/chartjs-downsample/data_culling.ts +0 -95
- package/src/nameserver-history-viewer/utils/chartjs-downsample/data_mipmap.ts +0 -196
- package/src/nameserver-history-viewer/utils/chartjs-downsample/index.ts +0 -44
- package/src/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.ts +0 -158
- package/src/nameserver-history-viewer/utils/chartjs-downsample/responsive_downsample_plugin.ts +0 -249
- package/src/nameserver-history-viewer/utils/chartjs-downsample/utils.ts +0 -122
- package/src/nameserver-history-viewer/utils/chartjs-zoom/chart.zoom.ts +0 -602
- package/src/nameserver-history-viewer/utils/chartjs-zoom/index.ts +0 -1
- package/src/nameserver-history-viewer/utils/file-util.spec.ts +0 -108
- package/src/nameserver-history-viewer/utils/file-util.ts +0 -149
- package/src/nameserver-history-viewer/utils/index.ts +0 -4
- package/src/nameserver-history-viewer/utils/time-util.spec.ts +0 -21
- package/src/nameserver-history-viewer/utils/time-util.ts +0 -113
- package/src/nameserver-history-viewer/utils/ui-util.spec.ts +0 -87
- package/src/nameserver-history-viewer/utils/ui-util.ts +0 -171
- package/src/polyfills.ts +0 -80
- package/src/test.ts +0 -20
- package/src/tsconfig.app.json +0 -12
- package/src/tsconfig.spec.json +0 -19
- package/tsconfig.json +0 -22
- package/tslint.json +0 -130
package/src/demo/demo-service.ts
DELETED
|
@@ -1,479 +0,0 @@
|
|
|
1
|
-
import {Injectable} from '@angular/core';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* interface for the timezone with abbreviation and offset
|
|
5
|
-
*/
|
|
6
|
-
export interface TimeZoneAbbrMapping {
|
|
7
|
-
timezone: string;
|
|
8
|
-
offset: number;
|
|
9
|
-
abbreviation: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@Injectable()
|
|
13
|
-
export class DemoService {
|
|
14
|
-
/**
|
|
15
|
-
* get timezones with timezone abbreviation and offset.
|
|
16
|
-
*/
|
|
17
|
-
getTimezoneAbbrMappings(): TimeZoneAbbrMapping[] {
|
|
18
|
-
/**
|
|
19
|
-
* Below timezones are adapted from:
|
|
20
|
-
* https://github.com/kevalbhatt/timezone-picker/blob/master/src/timezones.json,
|
|
21
|
-
* https://www.timeanddate.com/time/zones,
|
|
22
|
-
* https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations
|
|
23
|
-
*
|
|
24
|
-
* The MIT License (MIT)
|
|
25
|
-
* Copyright (c) 2015 Keval Bhatt
|
|
26
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
|
27
|
-
* associated documentation files (the "Software"), to deal in the Software without restriction,
|
|
28
|
-
* including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
|
29
|
-
* sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
|
30
|
-
* furnished to do so, subject to the following conditions:
|
|
31
|
-
* The above copyright notice and this permission notice shall be included in all copies or
|
|
32
|
-
* substantial portions of the Software.
|
|
33
|
-
*/
|
|
34
|
-
return [
|
|
35
|
-
{ timezone: 'Australia/Adelaide', offset: 10.5, abbreviation: 'ACDT' },
|
|
36
|
-
// { timezone: 'Australia/Broken_Hill', offset: 10.5, abbreviation: 'ACDT' },
|
|
37
|
-
{ timezone: 'Australia/Darwin', offset: 9.5, abbreviation: 'ACST' },
|
|
38
|
-
{ timezone: 'America/Eirunepe', offset: -5, abbreviation: 'ACT' },
|
|
39
|
-
// { timezone: 'America/Rio_Branco', offset: -5, abbreviation: 'ACT' },
|
|
40
|
-
{ timezone: 'Australia/Eucla', offset: 8.75, abbreviation: 'ACWST' },
|
|
41
|
-
{ timezone: 'America/Halifax', offset: -3, abbreviation: 'ADT' },
|
|
42
|
-
// { timezone: 'Australia/Currie', offset: 11, abbreviation: 'AEDT' },
|
|
43
|
-
// { timezone: 'Australia/Hobart', offset: 11, abbreviation: 'AEDT' },
|
|
44
|
-
// { timezone: 'Australia/Melbourne', offset: 11, abbreviation: 'AEDT' },
|
|
45
|
-
{ timezone: 'Australia/Sydney', offset: 11, abbreviation: 'AEDT' },
|
|
46
|
-
{ timezone: 'Australia/Brisbane', offset: 10, abbreviation: 'AEST' },
|
|
47
|
-
// { timezone: 'Australia/Lindeman', offset: 10, abbreviation: 'AEST' },
|
|
48
|
-
{ timezone: 'Asia/Kabul', offset: 4.5, abbreviation: 'AFT' },
|
|
49
|
-
{ timezone: 'America/Anchorage', offset: -8, abbreviation: 'AKDT' },
|
|
50
|
-
{ timezone: 'America/Anchorage', offset: -9, abbreviation: 'AKST' },
|
|
51
|
-
// { timezone: 'America/Juneau', offset: -9, abbreviation: 'AKST' },
|
|
52
|
-
// { timezone: 'America/Nome', offset: -9, abbreviation: 'AKST' },
|
|
53
|
-
// { timezone: 'America/Sitka', offset: -9, abbreviation: 'AKST' },
|
|
54
|
-
// { timezone: 'America/Yakutat', offset: -9, abbreviation: 'AKST' },
|
|
55
|
-
{ timezone: 'Asia/Almaty', offset: 6, abbreviation: 'ALMT' },
|
|
56
|
-
{ timezone: 'America/Campo_Grande', offset: -3, abbreviation: 'AMST' },
|
|
57
|
-
// { timezone: 'America/Cuiaba', offset: -3, abbreviation: 'AMST' },
|
|
58
|
-
// { timezone: 'America/Boa_Vista', offset: -4, abbreviation: 'AMT' },
|
|
59
|
-
{ timezone: 'America/Manaus', offset: -4, abbreviation: 'AMT' },
|
|
60
|
-
// { timezone: 'America/Porto_Velho', offset: -4, abbreviation: 'AMT' },
|
|
61
|
-
{ timezone: 'Asia/Yerevan', offset: 4, abbreviation: 'AMT' },
|
|
62
|
-
{ timezone: 'Asia/Anadyr', offset: 12, abbreviation: 'ANAT' },
|
|
63
|
-
{ timezone: 'Asia/Aqtau', offset: 5, abbreviation: 'AQTT' },
|
|
64
|
-
// { timezone: 'Asia/Aqtobe', offset: 5, abbreviation: 'AQTT' },
|
|
65
|
-
// { timezone: 'America/Argentina/Salta', offset: -3, abbreviation: 'ART' },
|
|
66
|
-
{ timezone: 'America/Argentina/Buenos_Aires', offset: -3, abbreviation: 'ART' },
|
|
67
|
-
// { timezone: 'America/Argentina/Catamarca', offset: -3, abbreviation: 'ART' },
|
|
68
|
-
// { timezone: 'America/Argentina/Cordoba', offset: -3, abbreviation: 'ART' },
|
|
69
|
-
// { timezone: 'America/Argentina/Jujuy', offset: -3, abbreviation: 'ART' },
|
|
70
|
-
// { timezone: 'America/Argentina/La_Rioja', offset: -3, abbreviation: 'ART' },
|
|
71
|
-
// { timezone: 'America/Argentina/Mendoza', offset: -3, abbreviation: 'ART' },
|
|
72
|
-
// { timezone: 'America/Argentina/Rio_Gallegos', offset: -3, abbreviation: 'ART' },
|
|
73
|
-
// { timezone: 'America/Argentina/San_Juan', offset: -3, abbreviation: 'ART' },
|
|
74
|
-
// { timezone: 'America/Argentina/San_Luis', offset: -3, abbreviation: 'ART' },
|
|
75
|
-
// { timezone: 'America/Argentina/Tucuman', offset: -3, abbreviation: 'ART' },
|
|
76
|
-
// { timezone: 'America/Argentina/Ushuaia', offset: -3, abbreviation: 'ART' },
|
|
77
|
-
// { timezone: 'America/Anguilla', offset: -4, abbreviation: 'AST' },
|
|
78
|
-
// { timezone: 'America/Antigua', offset: -4, abbreviation: 'AST' },
|
|
79
|
-
// { timezone: 'America/Aruba', offset: -4, abbreviation: 'AST' },
|
|
80
|
-
// { timezone: 'America/Barbados', offset: -4, abbreviation: 'AST' },
|
|
81
|
-
// { timezone: 'America/Blanc-Sablon', offset: -4, abbreviation: 'AST' },
|
|
82
|
-
// { timezone: 'America/Curacao', offset: -4, abbreviation: 'AST' },
|
|
83
|
-
// { timezone: 'America/Dominica', offset: -4, abbreviation: 'AST' },
|
|
84
|
-
// { timezone: 'America/Glace_Bay', offset: -4, abbreviation: 'AST' },
|
|
85
|
-
// { timezone: 'America/Goose_Bay', offset: -4, abbreviation: 'AST' },
|
|
86
|
-
// { timezone: 'America/Grand_Turk', offset: -5, abbreviation: 'AST' },
|
|
87
|
-
// { timezone: 'America/Grenada', offset: -4, abbreviation: 'AST' },
|
|
88
|
-
// { timezone: 'America/Guadeloupe', offset: -4, abbreviation: 'AST' },
|
|
89
|
-
{ timezone: 'America/Halifax', offset: -4, abbreviation: 'AST' },
|
|
90
|
-
// { timezone: 'America/Kralendijk', offset: -4, abbreviation: 'AST' },
|
|
91
|
-
// { timezone: 'America/Lower_Princes', offset: -4, abbreviation: 'AST' },
|
|
92
|
-
// { timezone: 'America/Marigot', offset: -4, abbreviation: 'AST' },
|
|
93
|
-
// { timezone: 'America/Martinique', offset: -4, abbreviation: 'AST' },
|
|
94
|
-
// { timezone: 'America/Moncton', offset: -4, abbreviation: 'AST' },
|
|
95
|
-
// { timezone: 'America/Montserrat', offset: -4, abbreviation: 'AST' },
|
|
96
|
-
// { timezone: 'America/Port_of_Spain', offset: -4, abbreviation: 'AST' },
|
|
97
|
-
// { timezone: 'America/Puerto_Rico', offset: -4, abbreviation: 'AST' },
|
|
98
|
-
// { timezone: 'America/Santo_Domingo', offset: -4, abbreviation: 'AST' },
|
|
99
|
-
// { timezone: 'America/St_Barthelemy', offset: -4, abbreviation: 'AST' },
|
|
100
|
-
// { timezone: 'America/Thule', offset: -4, abbreviation: 'AST' },
|
|
101
|
-
// { timezone: 'America/St_Kitts', offset: -4, abbreviation: 'AST' },
|
|
102
|
-
// { timezone: 'America/St_Lucia', offset: -4, abbreviation: 'AST' },
|
|
103
|
-
// { timezone: 'America/St_Thomas', offset: -4, abbreviation: 'AST' },
|
|
104
|
-
// { timezone: 'America/St_Vincent', offset: -4, abbreviation: 'AST' },
|
|
105
|
-
// { timezone: 'America/Tortola', offset: -4, abbreviation: 'AST' },
|
|
106
|
-
// { timezone: 'Atlantic/Bermuda', offset: -4, abbreviation: 'AST' },
|
|
107
|
-
{ timezone: 'Asia/Aden', offset: 3, abbreviation: 'AST' },
|
|
108
|
-
// { timezone: 'Asia/Baghdad', offset: 3, abbreviation: 'AST' },
|
|
109
|
-
// { timezone: 'Asia/Bahrain', offset: 3, abbreviation: 'AST' },
|
|
110
|
-
// { timezone: 'Asia/Kuwait', offset: 3, abbreviation: 'AST' },
|
|
111
|
-
// { timezone: 'Asia/Qatar', offset: 3, abbreviation: 'AST' },
|
|
112
|
-
// { timezone: 'Asia/Riyadh', offset: 3, abbreviation: 'AST' },
|
|
113
|
-
// { timezone: 'Atlantic/Bermuda', offset: -4, abbreviation: 'AST' },
|
|
114
|
-
{ timezone: 'Australia/Perth', offset: 8, abbreviation: 'AWST' },
|
|
115
|
-
{ timezone: 'Atlantic/Azores', offset: 0, abbreviation: 'AZOST' },
|
|
116
|
-
{ timezone: 'Atlantic/Azores', offset: -1, abbreviation: 'AZOT' },
|
|
117
|
-
{ timezone: 'Asia/Baku', offset: 4, abbreviation: 'AZT' },
|
|
118
|
-
{ timezone: 'Asia/Brunei', offset: 8, abbreviation: 'BNT' },
|
|
119
|
-
{ timezone: 'America/La_Paz', offset: -4, abbreviation: 'BOT' },
|
|
120
|
-
{ timezone: 'America/Sao_Paulo', offset: -2, abbreviation: 'BRST' },
|
|
121
|
-
{ timezone: 'America/Araguaina', offset: -3, abbreviation: 'BRT' },
|
|
122
|
-
// { timezone: 'America/Bahia', offset: -2, abbreviation: 'BRT' },
|
|
123
|
-
// { timezone: 'America/Belem', offset: -3, abbreviation: 'BRT' },
|
|
124
|
-
// { timezone: 'America/Fortaleza', offset: -3, abbreviation: 'BRT' },
|
|
125
|
-
// { timezone: 'America/Maceio', offset: -3, abbreviation: 'BRT' },
|
|
126
|
-
// { timezone: 'America/Recife', offset: -3, abbreviation: 'BRT' },
|
|
127
|
-
// { timezone: 'America/Santarem', offset: -3, abbreviation: 'BRT' },
|
|
128
|
-
{ timezone: 'Asia/Dhaka', offset: 6, abbreviation: 'BST' },
|
|
129
|
-
{ timezone: 'Europe/London', offset: 1, abbreviation: 'BST' },
|
|
130
|
-
{ timezone: 'Asia/Thimphu', offset: 6, abbreviation: 'BTT' },
|
|
131
|
-
{ timezone: 'Africa/Blantyre', offset: 2, abbreviation: 'CAT' },
|
|
132
|
-
// { timezone: 'Africa/Bujumbura', offset: 2, abbreviation: 'CAT' },
|
|
133
|
-
// { timezone: 'Africa/Gaborone', offset: 2, abbreviation: 'CAT' },
|
|
134
|
-
// { timezone: 'Africa/Harare', offset: 2, abbreviation: 'CAT' },
|
|
135
|
-
// { timezone: 'Africa/Kigali', offset: 2, abbreviation: 'CAT' },
|
|
136
|
-
// { timezone: 'Africa/Lubumbashi', offset: 2, abbreviation: 'CAT' },
|
|
137
|
-
// { timezone: 'Africa/Lusaka', offset: 2, abbreviation: 'CAT' },
|
|
138
|
-
// { timezone: 'Africa/Maputo', offset: 2, abbreviation: 'CAT' },
|
|
139
|
-
{ timezone: 'Indian/Cocos', offset: 6.5, abbreviation: 'CCT' },
|
|
140
|
-
{ timezone: 'America/Chicago', offset: -5, abbreviation: 'CDT' },
|
|
141
|
-
{ timezone: 'Europe/Brussels', offset: 2, abbreviation: 'CEST' },
|
|
142
|
-
// { timezone: 'Africa/Algiers', offset: 1, abbreviation: 'CET' },
|
|
143
|
-
// { timezone: 'Africa/Ceuta', offset: 1, abbreviation: 'CET' },
|
|
144
|
-
// { timezone: 'Africa/Tunis', offset: 1, abbreviation: 'CET' },
|
|
145
|
-
// { timezone: 'Arctic/Longyearbyen', offset: 1, abbreviation: 'CET' },
|
|
146
|
-
// { timezone: 'Europe/Amsterdam', offset: 1, abbreviation: 'CET' },
|
|
147
|
-
// { timezone: 'Europe/Andorra', offset: 1, abbreviation: 'CET' },
|
|
148
|
-
// { timezone: 'Europe/Belgrade', offset: 1, abbreviation: 'CET' },
|
|
149
|
-
{ timezone: 'Europe/Berlin', offset: 1, abbreviation: 'CET' },
|
|
150
|
-
// { timezone: 'Europe/Budapest', offset: 1, abbreviation: 'CET' },
|
|
151
|
-
// { timezone: 'Europe/Bratislava', offset: 1, abbreviation: 'CET' },
|
|
152
|
-
// { timezone: 'Europe/Brussels', offset: 1, abbreviation: 'CET' },
|
|
153
|
-
// { timezone: 'Europe/Copenhagen', offset: 1, abbreviation: 'CET' },
|
|
154
|
-
// { timezone: 'Europe/Gibraltar', offset: 1, abbreviation: 'CET' },
|
|
155
|
-
// { timezone: 'Europe/Ljubljana', offset: 1, abbreviation: 'CET' },
|
|
156
|
-
// { timezone: 'Europe/Luxembourg', offset: 1, abbreviation: 'CET' },
|
|
157
|
-
// { timezone: 'Europe/Madrid', offset: 1, abbreviation: 'CET' },
|
|
158
|
-
// { timezone: 'Europe/Malta', offset: 1, abbreviation: 'CET' },
|
|
159
|
-
// { timezone: 'Europe/Monaco', offset: 1, abbreviation: 'CET' },
|
|
160
|
-
// { timezone: 'Europe/Oslo', offset: 1, abbreviation: 'CET' },
|
|
161
|
-
// { timezone: 'Europe/Paris', offset: 1, abbreviation: 'CET' },
|
|
162
|
-
// { timezone: 'Europe/Podgorica', offset: 1, abbreviation: 'CET' },
|
|
163
|
-
// { timezone: 'Europe/Prague', offset: 1, abbreviation: 'CET' },
|
|
164
|
-
// { timezone: 'Europe/Rome', offset: 1, abbreviation: 'CET' },
|
|
165
|
-
// { timezone: 'Europe/San_Marino', offset: 1, abbreviation: 'CET' },
|
|
166
|
-
// { timezone: 'Europe/Sarajevo', offset: 1, abbreviation: 'CET' },
|
|
167
|
-
// { timezone: 'Europe/Skopje', offset: 1, abbreviation: 'CET' },
|
|
168
|
-
// { timezone: 'Europe/Stockholm', offset: 1, abbreviation: 'CET' },
|
|
169
|
-
// { timezone: 'Europe/Tirane', offset: 1, abbreviation: 'CET' },
|
|
170
|
-
// { timezone: 'Europe/Vaduz', offset: 1, abbreviation: 'CET' },
|
|
171
|
-
// { timezone: 'Europe/Vatican', offset: 1, abbreviation: 'CET' },
|
|
172
|
-
// { timezone: 'Europe/Vienna', offset: 1, abbreviation: 'CET' },
|
|
173
|
-
// { timezone: 'Europe/Warsaw', offset: 1, abbreviation: 'CET' },
|
|
174
|
-
// { timezone: 'Europe/Zagreb', offset: 1, abbreviation: 'CET' },
|
|
175
|
-
// { timezone: 'Europe/Zurich', offset: 1, abbreviation: 'CET' },
|
|
176
|
-
{ timezone: 'Pacific/Chatham', offset: 13.75, abbreviation: 'CHADT' },
|
|
177
|
-
{ timezone: 'Pacific/Chatham', offset: 12.75, abbreviation: 'CHAST' },
|
|
178
|
-
{ timezone: 'Asia/Choibalsan', offset: 9, abbreviation: 'CHOST' },
|
|
179
|
-
{ timezone: 'Asia/Choibalsan', offset: 8, abbreviation: 'CHOT' },
|
|
180
|
-
{ timezone: 'Pacific/Guam', offset: 10, abbreviation: 'ChST' },
|
|
181
|
-
// { timezone: 'Pacific/Saipan', offset: 10, abbreviation: 'ChST' },
|
|
182
|
-
{ timezone: 'Pacific/Chuuk', offset: 10, abbreviation: 'CHUT' },
|
|
183
|
-
{ timezone: 'Pacific/Rarotonga', offset: -10, abbreviation: 'CKT' },
|
|
184
|
-
{ timezone: 'America/Santiago', offset: -3, abbreviation: 'CLST' },
|
|
185
|
-
{ timezone: 'America/Santiago', offset: -4, abbreviation: 'CLT' },
|
|
186
|
-
{ timezone: 'America/Bogota', offset: -5, abbreviation: 'COT' },
|
|
187
|
-
// { timezone: 'America/Bahia_Banderas', offset: -6, abbreviation: 'CST' },
|
|
188
|
-
// { timezone: 'America/Belize', offset: -6, abbreviation: 'CST' },
|
|
189
|
-
{ timezone: 'America/Chicago', offset: -6, abbreviation: 'CST' },
|
|
190
|
-
// { timezone: 'America/Costa_Rica', offset: -6, abbreviation: 'CST' },
|
|
191
|
-
// { timezone: 'America/El_Salvador', offset: -6, abbreviation: 'CST' },
|
|
192
|
-
// { timezone: 'America/Guatemala', offset: -6, abbreviation: 'CST' },
|
|
193
|
-
// { timezone: 'America/Havana', offset: -5, abbreviation: 'CST' },
|
|
194
|
-
// { timezone: 'America/Indiana/Tell_City', offset: -6, abbreviation: 'CST' },
|
|
195
|
-
// { timezone: 'America/Indiana/Knox', offset: -6, abbreviation: 'CST' },
|
|
196
|
-
// { timezone: 'America/Managua', offset: -6, abbreviation: 'CST' },
|
|
197
|
-
// { timezone: 'America/Matamoros', offset: -6, abbreviation: 'CST' },
|
|
198
|
-
// { timezone: 'America/Menominee', offset: -6, abbreviation: 'CST' },
|
|
199
|
-
// { timezone: 'America/Mexico_City', offset: -6, abbreviation: 'CST' },
|
|
200
|
-
// { timezone: 'America/Merida', offset: -6, abbreviation: 'CST' },
|
|
201
|
-
// { timezone: 'America/Monterrey', offset: -6, abbreviation: 'CST' },
|
|
202
|
-
// { timezone: 'America/North_Dakota/Beulah', offset: -6, abbreviation: 'CST' },
|
|
203
|
-
// { timezone: 'America/North_Dakota/Center', offset: -6, abbreviation: 'CST' },
|
|
204
|
-
// { timezone: 'America/North_Dakota/New_Salem', offset: -6, abbreviation: 'CST' },
|
|
205
|
-
// { timezone: 'America/Rainy_River', offset: -6, abbreviation: 'CST' },
|
|
206
|
-
// { timezone: 'America/Rankin_Inlet', offset: -6, abbreviation: 'CST' },
|
|
207
|
-
// { timezone: 'America/Regina', offset: -6, abbreviation: 'CST' },
|
|
208
|
-
// { timezone: 'America/Resolute', offset: -6, abbreviation: 'CST' },
|
|
209
|
-
// { timezone: 'America/Swift_Current', offset: -6, abbreviation: 'CST' },
|
|
210
|
-
// { timezone: 'America/Tegucigalpa', offset: -6, abbreviation: 'CST' },
|
|
211
|
-
// { timezone: 'America/Winnipeg', offset: -6, abbreviation: 'CST' },
|
|
212
|
-
// { timezone: 'Asia/Chongqing', offset: 8, abbreviation: 'CST' },
|
|
213
|
-
// { timezone: 'Asia/Harbin', offset: 8, abbreviation: 'CST' },
|
|
214
|
-
// { timezone: 'Asia/Macau', offset: 8, abbreviation: 'CST' },
|
|
215
|
-
{ timezone: 'Asia/Shanghai', offset: 8, abbreviation: 'CST' },
|
|
216
|
-
// { timezone: 'Asia/Taipei', offset: 8, abbreviation: 'CST' },
|
|
217
|
-
{ timezone: 'Atlantic/Cape_Verde', offset: -1, abbreviation: 'CVT' },
|
|
218
|
-
{ timezone: 'Indian/Christmas', offset: 7, abbreviation: 'CXT' },
|
|
219
|
-
{ timezone: 'Antarctica/Davis', offset: 7, abbreviation: 'DAVT' },
|
|
220
|
-
{ timezone: 'Pacific/Easter', offset: -5, abbreviation: 'EASST' },
|
|
221
|
-
{ timezone: 'Pacific/Easter', offset: -6, abbreviation: 'EAST' },
|
|
222
|
-
{ timezone: 'Africa/Addis_Ababa', offset: 3, abbreviation: 'EAT' },
|
|
223
|
-
// { timezone: 'Africa/Asmara', offset: 3, abbreviation: 'EAT' },
|
|
224
|
-
// { timezone: 'Africa/Dar_es_Salaam', offset: 3, abbreviation: 'EAT' },
|
|
225
|
-
// { timezone: 'Africa/Djibouti', offset: 3, abbreviation: 'EAT' },
|
|
226
|
-
// { timezone: 'Africa/Juba', offset: 3, abbreviation: 'EAT' },
|
|
227
|
-
// { timezone: 'Africa/Kampala', offset: 3, abbreviation: 'EAT' },
|
|
228
|
-
// { timezone: 'Africa/Khartoum', offset: 3, abbreviation: 'EAT' },
|
|
229
|
-
// { timezone: 'Africa/Mogadishu', offset: 3, abbreviation: 'EAT' },
|
|
230
|
-
// { timezone: 'Africa/Nairobi', offset: 3, abbreviation: 'EAT' },
|
|
231
|
-
// { timezone: 'Indian/Antananarivo', offset: 3, abbreviation: 'EAT' },
|
|
232
|
-
// { timezone: 'Indian/Comoro', offset: 3, abbreviation: 'EAT' },
|
|
233
|
-
// { timezone: 'Indian/Mayotte', offset: 3, abbreviation: 'EAT' },
|
|
234
|
-
{ timezone: 'America/Guayaquil', offset: -5, abbreviation: 'ECT' },
|
|
235
|
-
{ timezone: 'America/New_York', offset: -4, abbreviation: 'EDT' },
|
|
236
|
-
{ timezone: 'Europe/Bucharest', offset: 3, abbreviation: 'EEST' },
|
|
237
|
-
// { timezone: 'Africa/Cairo', offset: 2, abbreviation: 'EET' },
|
|
238
|
-
// { timezone: 'Africa/Tripoli', offset: 2, abbreviation: 'EET' },
|
|
239
|
-
// { timezone: 'Asia/Amman', offset: 2, abbreviation: 'EET' },
|
|
240
|
-
// { timezone: 'Asia/Beirut', offset: 2, abbreviation: 'EET' },
|
|
241
|
-
// { timezone: 'Asia/Damascus', offset: 2, abbreviation: 'EET' },
|
|
242
|
-
// { timezone: 'Asia/Gaza', offset: 2, abbreviation: 'EET' },
|
|
243
|
-
// { timezone: 'Asia/Hebron', offset: 2, abbreviation: 'EET' },
|
|
244
|
-
// { timezone: 'Asia/Nicosia', offset: 2, abbreviation: 'EET' },
|
|
245
|
-
// { timezone: 'Europe/Athens', offset: 2, abbreviation: 'EET' },
|
|
246
|
-
// { timezone: 'Europe/Bucharest', offset: 2, abbreviation: 'EET' },
|
|
247
|
-
// { timezone: 'Europe/Chisinau', offset: 2, abbreviation: 'EET' },
|
|
248
|
-
// { timezone: 'Europe/Helsinki', offset: 2, abbreviation: 'EET' },
|
|
249
|
-
{ timezone: 'Europe/Istanbul', offset: 2, abbreviation: 'EET' },
|
|
250
|
-
// { timezone: 'Europe/Kaliningrad', offset: 3, abbreviation: 'EET' },
|
|
251
|
-
// { timezone: 'Europe/Kiev', offset: 2, abbreviation: 'EET' },
|
|
252
|
-
// { timezone: 'Europe/Mariehamn', offset: 2, abbreviation: 'EET' },
|
|
253
|
-
// { timezone: 'Europe/Riga', offset: 2, abbreviation: 'EET' },
|
|
254
|
-
// { timezone: 'Europe/Sofia', offset: 2, abbreviation: 'EET' },
|
|
255
|
-
// { timezone: 'Europe/Tallinn', offset: 2, abbreviation: 'EET' },
|
|
256
|
-
// { timezone: 'Europe/Uzhgorod', offset: 2, abbreviation: 'EET' },
|
|
257
|
-
// { timezone: 'Europe/Vilnius', offset: 2, abbreviation: 'EET' },
|
|
258
|
-
// { timezone: 'Europe/Zaporozhye', offset: 2, abbreviation: 'EET' },
|
|
259
|
-
{ timezone: 'America/Scoresbysund', offset: -1, abbreviation: 'EGT' },
|
|
260
|
-
// { timezone: 'America/Atikokan', offset: -5, abbreviation: 'EST' },
|
|
261
|
-
// { timezone: 'America/Cancun', offset: -6, abbreviation: 'EST' },
|
|
262
|
-
// { timezone: 'America/Cayman', offset: -5, abbreviation: 'EST' },
|
|
263
|
-
// { timezone: 'America/Coral_Harbour', offset: -5, abbreviation: 'EST' },
|
|
264
|
-
// { timezone: 'America/Detroit', offset: -5, abbreviation: 'EST' },
|
|
265
|
-
// { timezone: 'America/Indiana/Petersburg', offset: -5, abbreviation: 'EST' },
|
|
266
|
-
// { timezone: 'America/Indiana/Vevay', offset: -5, abbreviation: 'EST' },
|
|
267
|
-
// { timezone: 'America/Indiana/Indianapolis', offset: -5, abbreviation: 'EST' },
|
|
268
|
-
// { timezone: 'America/Indiana/Marengo', offset: -5, abbreviation: 'EST' },
|
|
269
|
-
// { timezone: 'America/Indiana/Vincennes', offset: -5, abbreviation: 'EST' },
|
|
270
|
-
// { timezone: 'America/Indiana/Winamac', offset: -5, abbreviation: 'EST' },
|
|
271
|
-
// { timezone: 'America/Iqaluit', offset: -5, abbreviation: 'EST' },
|
|
272
|
-
// { timezone: 'America/Jamaica', offset: -5, abbreviation: 'EST' },
|
|
273
|
-
// { timezone: 'America/Kentucky/Louisville', offset: -5, abbreviation: 'EST' },
|
|
274
|
-
// { timezone: 'America/Kentucky/Monticello', offset: -5, abbreviation: 'EST' },
|
|
275
|
-
// { timezone: 'America/Montreal', offset: -5, abbreviation: 'EST' },
|
|
276
|
-
// { timezone: 'America/Nassau', offset: -5, abbreviation: 'EST' },
|
|
277
|
-
{ timezone: 'America/New_York', offset: -5, abbreviation: 'EST' },
|
|
278
|
-
// { timezone: 'America/Nipigon', offset: -5, abbreviation: 'EST' },
|
|
279
|
-
// { timezone: 'America/Panama', offset: -5, abbreviation: 'EST' },
|
|
280
|
-
// { timezone: 'America/Pangnirtung', offset: -5, abbreviation: 'EST' },
|
|
281
|
-
// { timezone: 'America/Port-au-Prince', offset: -5, abbreviation: 'EST' },
|
|
282
|
-
// { timezone: 'America/Thunder_Bay', offset: -5, abbreviation: 'EST' },
|
|
283
|
-
// { timezone: 'America/Toronto', offset: -5, abbreviation: 'EST' },
|
|
284
|
-
{ timezone: 'Pacific/Fiji', offset: 13, abbreviation: 'FJST' },
|
|
285
|
-
{ timezone: 'Pacific/Fiji', offset: 12, abbreviation: 'FJT' },
|
|
286
|
-
{ timezone: 'Atlantic/Stanley', offset: -3, abbreviation: 'FKST' },
|
|
287
|
-
{ timezone: 'Atlantic/Stanley', offset: -4, abbreviation: 'FKT' },
|
|
288
|
-
{ timezone: 'America/Noronha', offset: -2, abbreviation: 'FNT' },
|
|
289
|
-
{ timezone: 'Pacific/Galapagos', offset: -6, abbreviation: 'GALT' },
|
|
290
|
-
{ timezone: 'Pacific/Gambier', offset: -9, abbreviation: 'GAMT' },
|
|
291
|
-
{ timezone: 'Asia/Tbilisi', offset: 4, abbreviation: 'GET' },
|
|
292
|
-
{ timezone: 'America/Cayenne', offset: -3, abbreviation: 'GFT' },
|
|
293
|
-
{ timezone: 'Pacific/Tarawa', offset: 12, abbreviation: 'GILT' },
|
|
294
|
-
// { timezone: 'Africa/Abidjan', offset: 0, abbreviation: 'GMT' },
|
|
295
|
-
// { timezone: 'Africa/Accra', offset: 0, abbreviation: 'GMT' },
|
|
296
|
-
// { timezone: 'Africa/Bamako', offset: 0, abbreviation: 'GMT' },
|
|
297
|
-
// { timezone: 'Africa/Banjul', offset: 0, abbreviation: 'GMT' },
|
|
298
|
-
// { timezone: 'Africa/Bissau', offset: 0, abbreviation: 'GMT' },
|
|
299
|
-
// { timezone: 'Africa/Conakry', offset: 0, abbreviation: 'GMT' },
|
|
300
|
-
// { timezone: 'Africa/Dakar', offset: 0, abbreviation: 'GMT' },
|
|
301
|
-
// { timezone: 'Africa/Freetown', offset: 0, abbreviation: 'GMT' },
|
|
302
|
-
// { timezone: 'Africa/Lome', offset: 0, abbreviation: 'GMT' },
|
|
303
|
-
// { timezone: 'Africa/Monrovia', offset: 0, abbreviation: 'GMT' },
|
|
304
|
-
// { timezone: 'Africa/Nouakchott', offset: 0, abbreviation: 'GMT' },
|
|
305
|
-
// { timezone: 'Africa/Ouagadougou', offset: 0, abbreviation: 'GMT' },
|
|
306
|
-
// { timezone: 'Africa/Sao_Tome', offset: 0, abbreviation: 'GMT' },
|
|
307
|
-
// { timezone: 'America/Danmarkshavn', offset: 0, abbreviation: 'GMT' },
|
|
308
|
-
// { timezone: 'Atlantic/Reykjavik', offset: 0, abbreviation: 'GMT' },
|
|
309
|
-
// { timezone: 'Atlantic/St_Helena', offset: 0, abbreviation: 'GMT' },
|
|
310
|
-
// { timezone: 'Europe/Dublin', offset: 0, abbreviation: 'GMT' },
|
|
311
|
-
// { timezone: 'Europe/Guernsey', offset: 0, abbreviation: 'GMT' },
|
|
312
|
-
// { timezone: 'Europe/Isle_of_Man', offset: 0, abbreviation: 'GMT' },
|
|
313
|
-
// { timezone: 'Europe/Jersey', offset: 0, abbreviation: 'GMT' },
|
|
314
|
-
{ timezone: 'Europe/London', offset: 0, abbreviation: 'GMT' },
|
|
315
|
-
{ timezone: 'Asia/Dubai', offset: 4, abbreviation: 'GST' },
|
|
316
|
-
// { timezone: 'Asia/Muscat', offset: 4, abbreviation: 'GST' },
|
|
317
|
-
{ timezone: 'Atlantic/South_Georgia', offset: -2, abbreviation: 'GST' },
|
|
318
|
-
{ timezone: 'America/Guyana', offset: -4, abbreviation: 'GYT' },
|
|
319
|
-
{ timezone: 'America/Adak', offset: -9, abbreviation: 'HDT' },
|
|
320
|
-
{ timezone: 'Asia/Hong_Kong', offset: 8, abbreviation: 'HKT' },
|
|
321
|
-
{ timezone: 'Asia/Hovd', offset: 8, abbreviation: 'HOVST' },
|
|
322
|
-
{ timezone: 'Asia/Hovd', offset: 7, abbreviation: 'HOVT' },
|
|
323
|
-
{ timezone: 'America/Adak', offset: -10, abbreviation: 'HST' },
|
|
324
|
-
// { timezone: 'Pacific/Honolulu', offset: -10, abbreviation: 'HST' },
|
|
325
|
-
// { timezone: 'Pacific/Johnston', offset: -10, abbreviation: 'HST' },
|
|
326
|
-
{ timezone: 'Asia/Bangkok', offset: 7, abbreviation: 'ICT' },
|
|
327
|
-
// { timezone: 'Asia/Ho_Chi_Minh', offset: 7, abbreviation: 'ICT' },
|
|
328
|
-
// { timezone: 'Asia/Phnom_Penh', offset: 7, abbreviation: 'ICT' },
|
|
329
|
-
// { timezone: 'Asia/Vientiane', offset: 7, abbreviation: 'ICT' },
|
|
330
|
-
{ timezone: 'Asia/Jerusalem', offset: 3, abbreviation: 'IDT' },
|
|
331
|
-
{ timezone: 'Indian/Chagos', offset: 6, abbreviation: 'IOT' },
|
|
332
|
-
{ timezone: 'Asia/Tehran', offset: 4.5, abbreviation: 'IRDT' },
|
|
333
|
-
{ timezone: 'Asia/Irkutsk', offset: 9, abbreviation: 'IRKT' },
|
|
334
|
-
{ timezone: 'Asia/Tehran', offset: 3.5, abbreviation: 'IRST' },
|
|
335
|
-
{ timezone: 'Asia/Colombo', offset: 5.5, abbreviation: 'IST' },
|
|
336
|
-
// { timezone: 'Asia/Jerusalem', offset: 2, abbreviation: 'IST' },
|
|
337
|
-
// { timezone: 'Asia/Calcutta', offset: 5.5, abbreviation: 'IST' },
|
|
338
|
-
{ timezone: 'Asia/Tokyo', offset: 9, abbreviation: 'JST' },
|
|
339
|
-
{ timezone: 'Asia/Bishkek', offset: 6, abbreviation: 'KGT' },
|
|
340
|
-
{ timezone: 'Pacific/Kosrae', offset: 11, abbreviation: 'KOST' },
|
|
341
|
-
{ timezone: 'Asia/Krasnoyarsk', offset: 8, abbreviation: 'KRAST' },
|
|
342
|
-
{ timezone: 'Asia/Krasnoyarsk', offset: 7, abbreviation: 'KRAT' },
|
|
343
|
-
// { timezone: 'Asia/Novokuznetsk', offset: 7, abbreviation: 'KRAT' },
|
|
344
|
-
// { timezone: 'Asia/Pyongyang', offset: 9, abbreviation: 'KST' },
|
|
345
|
-
{ timezone: 'Asia/Seoul', offset: 9, abbreviation: 'KST' },
|
|
346
|
-
{ timezone: 'Australia/Lord_Howe', offset: 11, abbreviation: 'LHDT' },
|
|
347
|
-
{ timezone: 'Pacific/Kiritimati', offset: 14, abbreviation: 'LINT' },
|
|
348
|
-
{ timezone: 'Asia/Magadan', offset: 12, abbreviation: 'MAGT' },
|
|
349
|
-
{ timezone: 'Pacific/Marquesas', offset: -9.5, abbreviation: 'MART' },
|
|
350
|
-
{ timezone: 'Antarctica/Mawson', offset: 5, abbreviation: 'MAWT' },
|
|
351
|
-
// { timezone: 'Pacific/Kwajalein', offset: 12, abbreviation: 'MHT' },
|
|
352
|
-
{ timezone: 'Pacific/Majuro', offset: 12, abbreviation: 'MHT' },
|
|
353
|
-
{ timezone: 'Antarctica/Macquarie', offset: 11, abbreviation: 'MIST' },
|
|
354
|
-
{ timezone: 'Asia/Rangoon', offset: 6.5, abbreviation: 'MMT' },
|
|
355
|
-
{ timezone: 'Europe/Moscow', offset: 4, abbreviation: 'MSD' },
|
|
356
|
-
// { timezone: 'Europe/Minsk', offset: 3, abbreviation: 'MSK' },
|
|
357
|
-
{ timezone: 'Europe/Moscow', offset: 3, abbreviation: 'MSK' },
|
|
358
|
-
// { timezone: 'America/Boise', offset: -7, abbreviation: 'MST' },
|
|
359
|
-
// { timezone: 'America/Cambridge_Bay', offset: -7, abbreviation: 'MST' },
|
|
360
|
-
// { timezone: 'America/Chihuahua', offset: -7, abbreviation: 'MST' },
|
|
361
|
-
// { timezone: 'America/Creston', offset: -7, abbreviation: 'MST' },
|
|
362
|
-
// { timezone: 'America/Dawson_Creek', offset: -7, abbreviation: 'MST' },
|
|
363
|
-
// { timezone: 'America/Denver', offset: -7, abbreviation: 'MST' },
|
|
364
|
-
{ timezone: 'America/Edmonton', offset: -7, abbreviation: 'MST' },
|
|
365
|
-
// { timezone: 'America/Hermosillo', offset: -7, abbreviation: 'MST' },
|
|
366
|
-
// { timezone: 'America/Inuvik', offset: -7, abbreviation: 'MST' },
|
|
367
|
-
// { timezone: 'America/Mazatlan', offset: -7, abbreviation: 'MST' },
|
|
368
|
-
// { timezone: 'America/Ojinaga', offset: -7, abbreviation: 'MST' },
|
|
369
|
-
// { timezone: 'America/Phoenix', offset: -7, abbreviation: 'MST' },
|
|
370
|
-
// { timezone: 'America/Yellowknife', offset: -7, abbreviation: 'MST' },
|
|
371
|
-
{ timezone: 'Indian/Mauritius', offset: 4, abbreviation: 'MUT' },
|
|
372
|
-
{ timezone: 'Indian/Maldives', offset: 5, abbreviation: 'MVT' },
|
|
373
|
-
// { timezone: 'Asia/Kuala_Lumpur', offset: 8, abbreviation: 'MYT' },
|
|
374
|
-
{ timezone: 'Asia/Kuching', offset: 8, abbreviation: 'MYT' },
|
|
375
|
-
{ timezone: 'Pacific/Noumea', offset: 11, abbreviation: 'NCT' },
|
|
376
|
-
{ timezone: 'Pacific/Norfolk', offset: 11, abbreviation: 'NFT' },
|
|
377
|
-
{ timezone: 'Asia/Novosibirsk', offset: 7, abbreviation: 'NOVT' },
|
|
378
|
-
{ timezone: 'Asia/Kathmandu', offset: 5.75, abbreviation: 'NPT' },
|
|
379
|
-
{ timezone: 'Pacific/Nauru', offset: 12, abbreviation: 'NRT' },
|
|
380
|
-
{ timezone: 'America/St_Johns', offset: -3.5, abbreviation: 'NST' },
|
|
381
|
-
{ timezone: 'Pacific/Niue', offset: -11, abbreviation: 'NUT' },
|
|
382
|
-
{ timezone: 'Pacific/Auckland', offset: 13, abbreviation: 'NZDT' },
|
|
383
|
-
{ timezone: 'Pacific/Auckland', offset: 12, abbreviation: 'NZST' },
|
|
384
|
-
{ timezone: 'Asia/Omsk', offset: 7, abbreviation: 'OMSST' },
|
|
385
|
-
{ timezone: 'Asia/Omsk', offset: 6, abbreviation: 'OMST' },
|
|
386
|
-
{ timezone: 'Asia/Oral', offset: 5, abbreviation: 'ORAT' },
|
|
387
|
-
// { timezone: 'America/Los_Angeles', offset: -7, abbreviation: 'PDT' },
|
|
388
|
-
{ timezone: 'America/Vancouver', offset: -7, abbreviation: 'PDT' },
|
|
389
|
-
{ timezone: 'America/Lima', offset: -5, abbreviation: 'PET' },
|
|
390
|
-
{ timezone: 'Asia/Kamchatka', offset: 12, abbreviation: 'PETST' },
|
|
391
|
-
{ timezone: 'Asia/Kamchatka', offset: 12, abbreviation: 'PETT' },
|
|
392
|
-
{ timezone: 'Pacific/Port_Moresby', offset: 10, abbreviation: 'PGT' },
|
|
393
|
-
{ timezone: 'Pacific/Enderbury', offset: 13, abbreviation: 'PHOT' },
|
|
394
|
-
{ timezone: 'Asia/Manila', offset: 8, abbreviation: 'PHT' },
|
|
395
|
-
{ timezone: 'Asia/Karachi', offset: 5, abbreviation: 'PKT' },
|
|
396
|
-
{ timezone: 'America/Miquelon', offset: -2, abbreviation: 'PMDT' },
|
|
397
|
-
{ timezone: 'America/Miquelon', offset: -3, abbreviation: 'PMST' },
|
|
398
|
-
{ timezone: 'Pacific/Pohnpei', offset: 11, abbreviation: 'PONT' },
|
|
399
|
-
// { timezone: 'America/Dawson', offset: -8, abbreviation: 'PST' },
|
|
400
|
-
// { timezone: 'America/Los_Angeles', offset: -8, abbreviation: 'PST' },
|
|
401
|
-
// { timezone: 'America/Metlakatla', offset: -8, abbreviation: 'PST' },
|
|
402
|
-
// { timezone: 'America/Santa_Isabel', offset: -8, abbreviation: 'PST' },
|
|
403
|
-
// { timezone: 'America/Tijuana', offset: -8, abbreviation: 'PST' },
|
|
404
|
-
{ timezone: 'America/Vancouver', offset: -8, abbreviation: 'PST' },
|
|
405
|
-
// { timezone: 'America/Whitehorse', offset: -8, abbreviation: 'PST' },
|
|
406
|
-
// { timezone: 'Asia/Manila', offset: 8, abbreviation: 'PST' },
|
|
407
|
-
// { timezone: 'Pacific/Pitcairn', offset: -8, abbreviation: 'PST' },
|
|
408
|
-
{ timezone: 'Pacific/Palau', offset: 9, abbreviation: 'PWT' },
|
|
409
|
-
{ timezone: 'America/Asuncion', offset: -3, abbreviation: 'PYST' },
|
|
410
|
-
{ timezone: 'America/Asuncion', offset: -4, abbreviation: 'PYT' },
|
|
411
|
-
{ timezone: 'Asia/Qyzylorda', offset: 6, abbreviation: 'QYZT' },
|
|
412
|
-
{ timezone: 'Indian/Reunion', offset: 4, abbreviation: 'RET' },
|
|
413
|
-
{ timezone: 'Asia/Sakhalin', offset: 11, abbreviation: 'SAKT' },
|
|
414
|
-
{ timezone: 'Europe/Samara', offset: 4, abbreviation: 'SAMT' },
|
|
415
|
-
// { timezone: 'Africa/Johannesburg', offset: 2, abbreviation: 'SAST' },
|
|
416
|
-
{ timezone: 'Africa/Mbabane', offset: 2, abbreviation: 'SAST' },
|
|
417
|
-
// { timezone: 'Africa/Maseru', offset: 2, abbreviation: 'SAST' },
|
|
418
|
-
{ timezone: 'Pacific/Guadalcanal', offset: 11, abbreviation: 'SBT' },
|
|
419
|
-
{ timezone: 'Indian/Mahe', offset: 4, abbreviation: 'SCT' },
|
|
420
|
-
{ timezone: 'Asia/Singapore', offset: 8, abbreviation: 'SGT' },
|
|
421
|
-
{ timezone: 'Asia/Srednekolymsk', offset: 11, abbreviation: 'SRET' },
|
|
422
|
-
{ timezone: 'America/Paramaribo', offset: -3, abbreviation: 'SRT' },
|
|
423
|
-
{ timezone: 'Pacific/Midway', offset: -11, abbreviation: 'SST' },
|
|
424
|
-
// { timezone: 'Pacific/Pago_Pago', offset: -11, abbreviation: 'SST' },
|
|
425
|
-
{ timezone: 'Pacific/Tahiti', offset: -10, abbreviation: 'TAHT' },
|
|
426
|
-
{ timezone: 'Indian/Kerguelen', offset: 5, abbreviation: 'TFT' },
|
|
427
|
-
{ timezone: 'Asia/Dushanbe', offset: 5, abbreviation: 'TJT' },
|
|
428
|
-
{ timezone: 'Pacific/Fakaofo', offset: 13, abbreviation: 'TKT' },
|
|
429
|
-
{ timezone: 'Asia/Dili', offset: 9, abbreviation: 'TLT' },
|
|
430
|
-
{ timezone: 'Asia/Ashgabat', offset: 5, abbreviation: 'TMT' },
|
|
431
|
-
{ timezone: 'Pacific/Tongatapu', offset: 13, abbreviation: 'TOT' },
|
|
432
|
-
{ timezone: 'Pacific/Funafuti', offset: 12, abbreviation: 'TVT' },
|
|
433
|
-
{ timezone: 'Asia/Ulaanbaatar', offset: 9, abbreviation: 'ULAST' },
|
|
434
|
-
{ timezone: 'Asia/Ulaanbaatar', offset: 8, abbreviation: 'ULAT' },
|
|
435
|
-
{ timezone: 'Etc/UTC', offset: 0, abbreviation: 'UTC' },
|
|
436
|
-
{ timezone: 'America/Montevideo', offset: -2, abbreviation: 'UYST' },
|
|
437
|
-
{ timezone: 'America/Montevideo', offset: -3, abbreviation: 'UYT' },
|
|
438
|
-
{ timezone: 'Asia/Samarkand', offset: 5, abbreviation: 'UZT' },
|
|
439
|
-
// { timezone: 'Asia/Tashkent', offset: 5, abbreviation: 'UZT' },
|
|
440
|
-
{ timezone: 'America/Caracas', offset: -4, abbreviation: 'VET' },
|
|
441
|
-
{ timezone: 'Asia/Vladivostok', offset: 11, abbreviation: 'VLAST' },
|
|
442
|
-
{ timezone: 'Asia/Vladivostok', offset: 10, abbreviation: 'VLAT' },
|
|
443
|
-
{ timezone: 'Antarctica/Vostok', offset: 6, abbreviation: 'VOST' },
|
|
444
|
-
{ timezone: 'Pacific/Efate', offset: 11, abbreviation: 'VUT' },
|
|
445
|
-
{ timezone: 'Pacific/Wake', offset: 12, abbreviation: 'WAKT' },
|
|
446
|
-
{ timezone: 'Africa/Windhoek', offset: 2, abbreviation: 'WAST' },
|
|
447
|
-
{ timezone: 'Africa/Bangui', offset: 1, abbreviation: 'WAT' },
|
|
448
|
-
// { timezone: 'Africa/Brazzaville', offset: 1, abbreviation: 'WAT' },
|
|
449
|
-
// { timezone: 'Africa/Douala', offset: 1, abbreviation: 'WAT' },
|
|
450
|
-
// { timezone: 'Africa/Kinshasa', offset: 1, abbreviation: 'WAT' },
|
|
451
|
-
// { timezone: 'Africa/Lagos', offset: 1, abbreviation: 'WAT' },
|
|
452
|
-
// { timezone: 'Africa/Libreville', offset: 1, abbreviation: 'WAT' },
|
|
453
|
-
// { timezone: 'Africa/Luanda', offset: 1, abbreviation: 'WAT' },
|
|
454
|
-
// { timezone: 'Africa/Malabo', offset: 1, abbreviation: 'WAT' },
|
|
455
|
-
// { timezone: 'Africa/Ndjamena', offset: 1, abbreviation: 'WAT' },
|
|
456
|
-
// { timezone: 'Africa/Niamey', offset: 1, abbreviation: 'WAT' },
|
|
457
|
-
// { timezone: 'Africa/Porto-Novo', offset: 1, abbreviation: 'WAT' },
|
|
458
|
-
{ timezone: 'Europe/Lisbon', offset: 1, abbreviation: 'WEST' },
|
|
459
|
-
// { timezone: 'Africa/Casablanca', offset: 0, abbreviation: 'WET' },
|
|
460
|
-
// { timezone: 'Africa/El_Aaiun', offset: 0, abbreviation: 'WET' },
|
|
461
|
-
// { timezone: 'Atlantic/Canary', offset: 0, abbreviation: 'WET' },
|
|
462
|
-
// { timezone: 'Atlantic/Faroe', offset: 0, abbreviation: 'WET' },
|
|
463
|
-
// { timezone: 'Atlantic/Madeira', offset: 0, abbreviation: 'WET' },
|
|
464
|
-
{ timezone: 'Europe/Lisbon', offset: 0, abbreviation: 'WET' },
|
|
465
|
-
{ timezone: 'Pacific/Wallis', offset: 12, abbreviation: 'WFT'},
|
|
466
|
-
{ timezone: 'America/Godthab', offset: -3, abbreviation: 'WGT' },
|
|
467
|
-
// { timezone: 'Asia/Jakarta', offset: 7, abbreviation: 'WIB' },
|
|
468
|
-
{ timezone: 'Asia/Pontianak', offset: 7, abbreviation: 'WIB' },
|
|
469
|
-
{ timezone: 'Asia/Jayapura', offset: 9, abbreviation: 'WIT' },
|
|
470
|
-
{ timezone: 'Asia/Makassar', offset: 8, abbreviation: 'WITA' },
|
|
471
|
-
{ timezone: 'Pacific/Apia', offset: 14, abbreviation: 'WSDT' },
|
|
472
|
-
// { timezone: 'Asia/Kashgar', offset: 6, abbreviation: 'XJT' },
|
|
473
|
-
{ timezone: 'Asia/Urumqi', offset: 6, abbreviation: 'XJT' },
|
|
474
|
-
{ timezone: 'Asia/Yakutsk', offset: 10, abbreviation: 'YAKT' },
|
|
475
|
-
{ timezone: 'Asia/Yekaterinburg', offset: 6, abbreviation: 'YEKST' },
|
|
476
|
-
{ timezone: 'Asia/Yekaterinburg', offset: 5, abbreviation: 'YEKT' }
|
|
477
|
-
];
|
|
478
|
-
}
|
|
479
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import {getAbbreviationAndOffset, getLocalStorage, getTimeZoneFromTopology, setLocalStorage} from './demo-util';
|
|
2
|
-
import {DemoService} from './demo-service';
|
|
3
|
-
|
|
4
|
-
describe('demo-util', () => {
|
|
5
|
-
const service = new DemoService();
|
|
6
|
-
it('#01 setLocalStorage: should save to local storage if data is not empty ', () => {
|
|
7
|
-
const name = 'test';
|
|
8
|
-
const data = 'test1';
|
|
9
|
-
setLocalStorage(name, data);
|
|
10
|
-
const dataFromStorage = localStorage.getItem(name);
|
|
11
|
-
let savedData;
|
|
12
|
-
if (dataFromStorage != null) {
|
|
13
|
-
savedData = JSON.parse(dataFromStorage);
|
|
14
|
-
} else {
|
|
15
|
-
savedData = undefined;
|
|
16
|
-
}
|
|
17
|
-
expect(savedData).toEqual(data);
|
|
18
|
-
});
|
|
19
|
-
it('#02 setLocalStorage: should remove the item from local storage if data is empty ', () => {
|
|
20
|
-
const name = 'test';
|
|
21
|
-
const data = undefined;
|
|
22
|
-
setLocalStorage(name, data);
|
|
23
|
-
expect(localStorage.getItem(name)).toBeFalsy();
|
|
24
|
-
});
|
|
25
|
-
it('#03 getLocalStorage: should get the item from local storage if the item is saved to local storage ', () => {
|
|
26
|
-
const name = 'test';
|
|
27
|
-
const data = 'test1';
|
|
28
|
-
localStorage.setItem(name, JSON.stringify(data));
|
|
29
|
-
expect(getLocalStorage(name)).toEqual(data);
|
|
30
|
-
});
|
|
31
|
-
it('#04 getLocalStorage: should return undefined if the item is not saved to local storage ', () => {
|
|
32
|
-
const name = 'testNew';
|
|
33
|
-
expect(getLocalStorage(name)).toBeFalsy();
|
|
34
|
-
});
|
|
35
|
-
it('#05 getAbbreviationAndOffset: should return abbreviation and offset from the provided topology file content', () => {
|
|
36
|
-
const content = `
|
|
37
|
-
ssfs_masterkey_changed=01.01.1970 07:00:00
|
|
38
|
-
ssfs_masterkey_systempki_changed=01.01.1970 07:00:00
|
|
39
|
-
start_time=2018-12-01 17:11:10.685
|
|
40
|
-
timezone_name=+07
|
|
41
|
-
timezone_offset=25200
|
|
42
|
-
topology_mem_info=<ok>
|
|
43
|
-
topology_mem_type=shared
|
|
44
|
-
pid=36214
|
|
45
|
-
start_time=2018-12-01 17:11:10.685
|
|
46
|
-
stonith=yes
|
|
47
|
-
volume=1
|
|
48
|
-
preprocessor
|
|
49
|
-
`;
|
|
50
|
-
expect(getAbbreviationAndOffset(content)).toEqual({abbreviation: '+07', offset: 7});
|
|
51
|
-
});
|
|
52
|
-
it('#06 getAbbreviationAndOffset: should return null for both abbreviation and offset if either abbreviation is missed or offset is null', () => {
|
|
53
|
-
const content = `
|
|
54
|
-
ssfs_masterkey_changed=01.01.1970 07:00:00
|
|
55
|
-
ssfs_masterkey_systempki_changed=01.01.1970 07:00:00
|
|
56
|
-
start_time=2018-12-01 17:11:10.685
|
|
57
|
-
timezone1_name=+07
|
|
58
|
-
timezone_offset=25200
|
|
59
|
-
topology_mem_info=<ok>
|
|
60
|
-
topology_mem_type=shared
|
|
61
|
-
pid=36214
|
|
62
|
-
start_time=2018-12-01 17:11:10.685
|
|
63
|
-
stonith=yes
|
|
64
|
-
volume=1
|
|
65
|
-
preprocessor
|
|
66
|
-
`;
|
|
67
|
-
expect(getAbbreviationAndOffset(content)).toEqual({abbreviation: null, offset: null});
|
|
68
|
-
|
|
69
|
-
const content1 = `
|
|
70
|
-
ssfs_masterkey_changed=01.01.1970 07:00:00
|
|
71
|
-
ssfs_masterkey_systempki_changed=01.01.1970 07:00:00
|
|
72
|
-
start_time=2018-12-01 17:11:10.685
|
|
73
|
-
timezone_name=+07
|
|
74
|
-
timezone1_offset=25200
|
|
75
|
-
topology_mem_info=<ok>
|
|
76
|
-
topology_mem_type=shared
|
|
77
|
-
pid=36214
|
|
78
|
-
start_time=2018-12-01 17:11:10.685
|
|
79
|
-
stonith=yes
|
|
80
|
-
volume=1
|
|
81
|
-
preprocessor
|
|
82
|
-
`;
|
|
83
|
-
expect(getAbbreviationAndOffset(content1)).toEqual({abbreviation: null, offset: null});
|
|
84
|
-
|
|
85
|
-
});
|
|
86
|
-
it('#07 getTimeZoneFromTopology: should return Etc/GMTxx if abbreviation is number', () => {
|
|
87
|
-
expect(getTimeZoneFromTopology('+07', 7, service.getTimezoneAbbrMappings())).toEqual('Etc/GMT-7');
|
|
88
|
-
expect(getTimeZoneFromTopology('-10', 10, service.getTimezoneAbbrMappings())).toEqual('Etc/GMT+10');
|
|
89
|
-
expect(getTimeZoneFromTopology('+00', 0, service.getTimezoneAbbrMappings())).toEqual('Etc/GMT+0');
|
|
90
|
-
expect(getTimeZoneFromTopology('-00', 0, service.getTimezoneAbbrMappings())).toEqual('Etc/GMT+0');
|
|
91
|
-
});
|
|
92
|
-
it('#08 getTimeZoneFromTopology: should return timezone directly if abbreviation is a value from standard timezone', () => {
|
|
93
|
-
expect(getTimeZoneFromTopology('America/New_York', 25200, service.getTimezoneAbbrMappings())).toEqual('America/New_York');
|
|
94
|
-
});
|
|
95
|
-
it('#09 getTimeZoneFromTopology: should return the relative timezone directly base on abbreviation and offset', () => {
|
|
96
|
-
expect(getTimeZoneFromTopology('CST', 8, service.getTimezoneAbbrMappings())).toEqual('Asia/Shanghai');
|
|
97
|
-
expect(getTimeZoneFromTopology('CST', -6, service.getTimezoneAbbrMappings())).toEqual('America/Chicago');
|
|
98
|
-
expect(getTimeZoneFromTopology('PST', -8, service.getTimezoneAbbrMappings())).toEqual('America/Vancouver');
|
|
99
|
-
expect(getTimeZoneFromTopology('PDT', -7, service.getTimezoneAbbrMappings())).toEqual('America/Vancouver');
|
|
100
|
-
});
|
|
101
|
-
it('#10 getTimeZoneFromTopology: should return null if can not find the timezone base on abbreviation and offset', () => {
|
|
102
|
-
expect(getTimeZoneFromTopology('CST', 9, service.getTimezoneAbbrMappings())).toEqual(null);
|
|
103
|
-
expect(getTimeZoneFromTopology('PST', -7, service.getTimezoneAbbrMappings())).toEqual(null);
|
|
104
|
-
expect(getTimeZoneFromTopology('PDT', -8, service.getTimezoneAbbrMappings())).toEqual(null);
|
|
105
|
-
});
|
|
106
|
-
it('#11 getTimeZoneFromTopology: should return null if abbreviation is null', () => {
|
|
107
|
-
expect(getTimeZoneFromTopology(null, 9, service.getTimezoneAbbrMappings())).toEqual(null);
|
|
108
|
-
});
|
|
109
|
-
it('#12 getTimeZoneFromTopology: should return null if offset is null', () => {
|
|
110
|
-
expect(getTimeZoneFromTopology('PST', null, service.getTimezoneAbbrMappings())).toEqual(null);
|
|
111
|
-
});
|
|
112
|
-
});
|