Skip to content

Releases: Breinify/brein-time-utilities

1.8.0: Dependency Updates (Due to Vulnerabilities)

20 May 23:53
Compare
Choose a tag to compare

Version 1.8.0 updates the version used for gson (to 2.9.0), slf4j (1.7.36) and log4j (switched to reload4j-1.2.21).

1.7.0: Temporal Expression Evaluator

13 Aug 20:32
Compare
Choose a tag to compare

With version 1.7.0 of the library a new feature was added, which enables developers to evaluate "temporal" expressions. In general, a TemporalExpression can be understood as a formel expression (i.e., a formula), which contains temporal elements, e.g., now() + 4h. The syntax of the expression may depend on the underlying implementation, thus it is recommended to have a closer look at the provided documentation (for the selected implementation).

1.6.4: Allen's Interval Algebra Fix

29 Dec 17:09
Compare
Choose a tag to compare

The provided implementation of Allen's Interval Algebra (see Wikipedia) had an issue to determine the difference between overlap and after, as well as is overlapped by and before. These problems have been fixed.

@ Maven Central
@ GitHub

1.6.3: Streaming for interval-operations

09 Nov 02:20
Compare
Choose a tag to compare

This is a minor release it implements the overlapStream() method:

public Stream<IInterval> overlapStream(final IInterval query)

and provides protected access to the root of the tree:

protected IntervalTreeNode getRoot()

In addition three new methods were added to the TimeUtils:

  • createTimestampList: creates a list of days between the specified start (inclusive) and end (inclusive).
  • firstOfCurrentMonthTime: get first timestamp of current month
  • format: formats different timestamps for different timezones

@ Maven Central
@ GitHub

1.6.2: Fixed max-calculation

06 Jun 03:44
Compare
Choose a tag to compare

This is a minor release fixing a bug when calculating the maximum value in the IntervalTree. In addition some minor code quality enhancement were performed.

@ Maven Central
@ GitHub

1.6.1: Maven Central Deployment

22 Mar 23:02
Compare
Choose a tag to compare

This is a minor release fixing the version 1.6.0 deployed on Maven Central.

@ Maven Central
@ GitHub

1.6.0: Store, Cache & Persist

22 Mar 21:56
Compare
Choose a tag to compare

This is a major release providing the capabilities to persist, store, and cache associated data and the IntervalTree index-structure (see Store, Cache, and Persist).

@ Maven Central
@ GitHub

1.5.2: Allen's Interval Algebra

14 Mar 17:48
Compare
Choose a tag to compare

This is a minor release, which contains the implementation of Allen's Interval Algebra for the Interval class.

@ Maven Central
@ GitHub

1.5.1: Generalized Interval Implementation

14 Mar 00:18
Compare
Choose a tag to compare

This is a minor release, which contains a generalized Interval implementation. This implementation allows the comparison of intervals based on different primitive number types (e.g., double, float, byte, short, integer, long).

@ Maven Central
@ GitHub

1.5.0: IntervalTree

12 Mar 05:08
Compare
Choose a tag to compare

This release contains the following changes:

  • IntervalTree
    • storing and querying for multiple (equal) intervals, e.g.:
      • calling insert(new Inteval(1, 2)) twice will actually insert two intervals (using a List storage)
      • calling insert(new IdInteval("ID1", 1, 2)) twice will only be inserted once (using a Set storage)
      • calling insert(new IdInteval("ID1", 1, 2)) and insert(new IdInteval("ID2", 1, 2)) will inserted two intervals (independent of the storage)
    • easy extendable Interval type, so that every type of data associated to intervals can be handled
    • IntervalTree implements Collection interface
    • auto-balancing, disable balancing, and manuel balancing
      • auto-balancing (activated by default): IntervalTree.setAutoBalancing(true)
      • disable balancing: IntervalTree.setAutoBalancing(false)
      • manual balancing: IntervalTree.balance()

@ Maven Central
@ GitHub