<commit_before>= tick

A Clojure(Script) library for dealing with time. Intended as a
replacement for clj-time.

Based on Java 8 time (on the JVM) and js-joda (on JavaScript
runtimes).

[source,clojure]
----
(require [tick.alpha.api :as t])

;; Get the current time
(t/now)
----

== Status

Alpha: Ready to use with the caveat that the API might still undergo
minor changes.

== Install

Get the latest from https://clojars.org/tick[Clojars] and 
add to your `project.clj`, `build.boot` or `deps.edn`:

== Development

=== with Clojure

REPL with nREPL server

----
clj -Adev
----

Port is written to `.nrepl-port`.

Run tests with:

----
clj -Atest -e deprecated
----

=== with ClojureScript

Various options:

----
clj -R:dev:dev/rebel -m figwheel.main --build tick --repl
----


From the Clojure REPL type `(node)`.

For testing, either use Leiningen:

----
lein doo node test
----

== Documentation

- https://juxt.github.io/tick[Generated API docs]

== Acknowledgements

Tick is based on the same original idea as
https://github.com/jarohen/chime[Chime]. The motivation is to be
able to view timelines of remaining times while the schedule is
running. Thanks to <NAME> for his work on Chime.

In particular, special credit to <NAME>ans for discovering Allen's
interval algebra and pointing out its potential usefulness,
demonstrating a working implementation of Allen's ideas in
link:https://github.com/domainlanguage/time-count[his Clojure library].

Thanks also to my esteemed colleagues <NAME> for his redesign of
the interval constructor function, and <NAME> for porting to cljc.

== References

* https://github.com/dm3/clojure.java-time<commit_msg>Development docs update - refer to make<commit_after>= tick

A Clojure(Script) library for dealing with time. Intended as a
replacement for clj-time.

Based on Java 8 time (on the JVM) and js-joda (on JavaScript
runtimes).

[source,clojure]
----
(require [tick.alpha.api :as t])

;; Get the current time
(t/now)
----

== Status

Alpha: Ready to use with the caveat that the API might still undergo
minor changes.

== Install

Get the latest from https://clojars.org/tick[Clojars] and 
add to your `project.clj`, `build.boot` or `deps.edn`:

== Development

=== with Clojure

REPL with nREPL server

----
clj -Adev
----

Port is written to `.nrepl-port`.

Run tests with:

----
make test
----

=== with ClojureScript

Various options:

----
make figwheel
----

Then navigate to http://localhost:9500/figwheel-extra-main/auto-testing


Or, From the Clojure REPL type `(node)` to get a node repl.


== Documentation

- https://juxt.github.io/tick[Generated API docs]

== Acknowledgements

Tick is based on the same original idea as
https://github.com/jarohen/chime[Chime]. The motivation is to be
able to view timelines of remaining times while the schedule is
running. Thanks to <NAME> for his work on Chime.

In particular, special credit to <NAME> for discovering Allen's
interval algebra and pointing out its potential usefulness,
demonstrating a working implementation of Allen's ideas in
link:https://github.com/domainlanguage/time-count[his Clojure library].

Thanks also to my esteemed colleagues <NAME> for his redesign of
the interval constructor function, and <NAME> for porting to cljc.

== References

* https://github.com/dm3/clojure.java-time
{'fraction_non_alphanumeric': 0.11077573196498641, 'fraction_numerical': 0.0024147298520977964, 'mean_word_length': 3.7140825035561877, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '44225', 'n_tokens_mistral': 1097, 'n_tokens_neox': 1037, 'n_words': 410}