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

How about add a maxTime and a minTime const #54

Open
mooxiu opened this issue Dec 15, 2021 · 0 comments
Open

How about add a maxTime and a minTime const #54

mooxiu opened this issue Dec 15, 2021 · 0 comments
Assignees

Comments

@mooxiu
Copy link

mooxiu commented Dec 15, 2021

Describe the feature

Provide min and max timestamp (just like math.MaxInt, math.MinInt)

Motivation

Sometimes I have to decide whether a timestamp in a valid range (after the begin time stamp and before the end time stamp).

It's convenient if I have a MaxTime so that any certainTime.Before(maxTime) is true

Related Issues

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

No branches or pull requests

2 participants