Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Conversation

@tsdeng
Copy link
Contributor

@tsdeng tsdeng commented Jul 3, 2014

Add implicit Successible and Predecessible for Timestamp, so the toLeftClosedRightOpen method is avaliable for Interval[Timestamp]

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check for overflow here:

def next(old: Timestamp) = if (old.millisSinceEpoch != Long.MaxValue) Some(old.next) else None

and similarly below. The whole point of the Option here is to be precise.

johnynek added a commit that referenced this pull request Jul 4, 2014
…decessible

add implicit Successible and Predecessible for Timestamp
@johnynek johnynek merged commit bd251c3 into twitter:develop Jul 4, 2014
snoble pushed a commit to snoble/summingbird that referenced this pull request Sep 8, 2017
Add Batched[A] type for efficient lazy addition
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants