kopeninghours:用于解析和评估OSM开放时间表达式的库

时间:2021-03-18 01:36:54
【文件属性】:
文件名称:kopeninghours:用于解析和评估OSM开放时间表达式的库
文件大小:98KB
文件格式:ZIP
更新时间:2021-03-18 01:36:54
C++ 营业时间 一个用于解析和评估OSM开放时间表达式的库。 介绍 OSM开放时间表达式用于描述功能何时打开/可用或关闭。 这种格式不仅在OpenStreetMap本身中使用,在各种其他需要这种描述的数据源或API中也使用。 看: 支持的功能 解析器和验证器相当完整。 但是,评估功能具有以下局限性。 到目前为止,仅支持时间间隔模式,而不支持时间点模式。 受支持的开放时间功能包括: 规则序列 后备规则 所有规则修饰符和规则注释 时间跨度,工作日,星期,月份,月份和年份选择器 开放时间跨度 基于太阳位置的可变时间事件 公共假期选择器(基于KF5 :: Holidays) 可变日期选择器 仍然缺少功能: 相交封闭规则的评论保留 广泛的选择器占位符注释 学校假期选择器 开放式月份范围 其他格式 也可以通过KOpeningHours :: OpeningHours :: fromJsonL
【文件预览】:
kopeninghours-master
----PyKOpeningHours()
--------CMakeLists.txt(1KB)
--------pykopeninghours.cpp(2KB)
--------PyKOpeningHours.pyi(690B)
--------test.py(424B)
--------python_qt_wrappers.h(236B)
--------python_qt_wrappers.cpp(2KB)
--------__init__.py(0B)
--------py.typed(0B)
----CMakeLists.txt(4KB)
----.gitignore(161B)
----autotests()
--------CMakeLists.txt(720B)
--------jsonlddata()
--------parsertest.cpp(23KB)
--------jsonldtest.cpp(2KB)
--------intervalmodeltest.cpp(3KB)
--------iterationtest.cpp(4KB)
--------evaluatetest.cpp(22KB)
--------data()
--------intervaltest.cpp(2KB)
--------eastertest.cpp(1KB)
----metainfo.yaml.license(62B)
----README.md(1KB)
----.gitlab-ci.yml(191B)
----README.md.license(94B)
----tests()
--------CMakeLists.txt(421B)
--------example.qml(9KB)
--------osm-opening-hours-evaluate.cpp(4KB)
--------osm-opening-hours-validate.cpp(3KB)
----.reuse()
--------dep5(290B)
----KOpeningHoursConfig.cmake.in(244B)
----src()
--------CMakeLists.txt(261B)
--------Messages.sh(214B)
--------qml()
--------lib()
----add_license.sh(586B)
----LICENSES()
--------CC0-1.0.txt(7KB)
--------BSD-3-Clause.txt(1KB)
--------LGPL-2.0-or-later.txt(24KB)
----metainfo.yaml(344B)
----pyproject.toml(180B)
----setup.py(508B)

网友评论