Skip to content

Commit 46d32c2

Browse files
docs: update README with latest usage
1 parent 38b375f commit 46d32c2

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,12 @@ All temporal collections implement the `ITimeQueryable<T>` interface, which prov
110110
- **GetAfter(DateTime time)**
111111
Returns all items with `Timestamp > time` (strictly after), ordered by ascending timestamp.
112112

113+
- **CountSince(DateTime from)**
114+
Counts the number of items with timestamp greater than or equal to the specified cutoff.
115+
116+
- **GetNearest(DateTime time)**
117+
Retrieves the item whose timestamp is closest to the specified `time`.
118+
113119
These methods collectively support efficient and thread-safe temporal queries and cleanups, allowing each collection to manage its items according to their timestamps while exposing a unified API.
114120

115121
## 🚀 Getting Started with TemporalCollections
@@ -455,4 +461,4 @@ If you'd like to contribute, please fork, fix, commit and send a pull request fo
455461
TemporalCollections source code is available under MIT License, see license in the source.
456462

457463
### Contact
458-
Please contact at francesco.delre[at]protonmail.com for any details.
464+
Please contact at francesco.delre[at]protonmail.com for any details.

0 commit comments

Comments
 (0)