Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CachedValue.timestamp + minor DateTimeUtils updates #389

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

amcclain
Copy link
Member

  • Was looking for equiv of Cache.getEntry(k).dateEntered.
  • Although this new getter and new Cache.getTimestamp(k) respect optional timestampFn.
  • New DateTimeUtils.toEpochMilli().
  • Support passing Instants to the above + existing intervalElapsed().
  • Additional OCD tweaks to / standardization of docstrings.

+ Was looking for equiv of `Cache.getEntry(k).dateEntered`.
+ Although this new getter and new `Cache.getTimestamp(k)` respect optional `timestampFn`.
+ New `DateTimeUtils.toEpochMilli()`.
+ Support passing Instants to the above + existing `intervalElapsed()`.
+ Additional OCD tweaks to / standardization of docstrings.
@amcclain amcclain requested a review from lbwexler August 31, 2024 18:24
@lbwexler lbwexler merged commit 6abc9d6 into develop Aug 31, 2024
4 checks passed
@lbwexler lbwexler deleted the cachedValueTimestamp branch August 31, 2024 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants