Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "abbreviated_dates"

Title:Parses abbreviated & incomplete dates in multiple languages
Rating:Not rated. Create the first rating!
Latest version:0.0.28
SHA1 sum:efeded528c866570a1d2606ab602a3ffb79d540f
Author:Conrado M. Rodriguez <conrado.rgz@gmail.com>
Maintainer:Conrado M. Rodriguez <conrado.rgz@gmail.com>
Packager:Conrado M. Rodriguez <conrado.rgz@gmail.com>
Home page:https://github.com/crgz/abbreviated_dates
Download URL:https://github.com/crgz/abbreviated_dates/releases/*.zip
Requires:date_time
tap

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
0.0.1608f46639fd45adb4a20b7d1ab14a9ea847545344https://github.com/crgz/abbreviated_dates/releases/download/v0.0.1/abbreviated_dates-0.0.1.tgz
0.0.29e8dd3a59f95d8e958969e8fc0a7eca822f27e573https://github.com/crgz/abbreviated_dates/releases/download/v0.0.2/abbreviated_dates-0.0.2.tgz
0.0.56c74c64de48e3b8e70c0119e3dd2adf1ed8a2ca02https://github.com/crgz/abbreviated_dates/releases/download/v0.0.5/abbreviated_dates-0.0.5.tgz
0.0.88e927f4bbb98d6f1139ad89027167106ecf1d51e2https://github.com/crgz/abbreviated_dates/releases/download/v0.0.8/abbreviated_dates-0.0.8.tgz
0.0.97fbfef11bc06c5dc140065e06e60f39a1874be7526https://github.com/crgz/abbreviated_dates/releases/download/v0.0.9/abbreviated_dates-0.0.9.tgz
0.0.16cece7d2cf0573ec6a7d9db27993bd3f74a8b54e74https://github.com/crgz/abbreviated_dates/archive/v0.0.16.zip
0.0.17d2fb26aab660cbdcb3913ce1cc08c0ef09f01be31https://github.com/crgz/abbreviated_dates/archive/v0.0.17.zip
0.0.1863c5c5e1fc7d81a7ce8e014c642ff34a350303ad1https://github.com/crgz/abbreviated_dates/archive/v0.0.18.zip
0.0.22c48a71e0d66a168b79056ec74c0a0e387b28cac62https://github.com/crgz/abbreviated_dates/archive/v0.0.22.zip
0.0.23fecac2ec6adef4e7cba4b534549cf8d19d0005d75https://github.com/crgz/abbreviated_dates/archive/v0.0.23.zip
0.0.243466f59a74f2a9e3c37c80574b8297ecd5360f9d3https://github.com/crgz/abbreviated_dates/archive/v0.0.24.zip
0.0.25fd1c2ecf123f25cd3503c02f778ac6caddf03d587https://github.com/crgz/abbreviated_dates/archive/v0.0.25.zip
0.0.2605933e7e7869fedfc16571270c3d681a857672303https://github.com/crgz/abbreviated_dates/archive/v0.0.26.zip
0.0.27153119a957b1069d13bf2d197b062a2fe504155c9https://github.com/crgz/abbreviated_dates/archive/v0.0.27.zip
0.0.28efeded528c866570a1d2606ab602a3ffb79d540f28https://github.com/crgz/abbreviated_dates/archive/v0.0.28.zip

<img src=".github/flags-jakearchibald.github.io-scour.svg?raw=true" width="50%" align="right" style="border:20px solid white">

Abbreviated Date Parser Library

The Abbreviated Date Parser Library contains a predicate that parses abbreviated incomplete dates in multiple languages.

parse(Context, Expression, Dates, Trace).

Installation

This pack is available from the add-on registry of SWI-Prolog.

It can be installed with pack_install/1:

?- pack_install(abbreviated_dates).

Then, you can use it by simply calling use_module(library(abbreviated_dates)).

Requirements

Only for development purposes the tap pack is needed:

?- pack_install(tap).

Provided Predicates

parse/4.  % parse an abbreviated incomplete date in multiple languages (today, tomorrow, etc).

For further details have a look at the prolog/abbreviated_dates.pl. In addition, the test/test.pl might give an impression on how to use this library.

Contents of pack "abbreviated_dates"

Pack contains 11 files holding a total of 3.1M bytes.