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

Expand Carbon API. #27

Closed
BJNSTNKVC opened this issue Mar 27, 2024 · 0 comments · Fixed by #28
Closed

Expand Carbon API. #27

BJNSTNKVC opened this issue Mar 27, 2024 · 0 comments · Fixed by #28
Assignees

Comments

@BJNSTNKVC
Copy link
Owner

Expand the Carbon class quality of life instantiation methods. Additionally, add comparison methods, if possible for said methods.

@BJNSTNKVC BJNSTNKVC self-assigned this Mar 27, 2024
BJNSTNKVC added a commit that referenced this issue Mar 27, 2024
Added the following methods:
- today
- tomorrow
- yesterday
- isLeapYear
- isWeekday
- isWeekend
- isToday
- isTomorrow
- isYesterday
- isDayOfWeek
- isBirthday
- isLastOfMonth
- isStartOfDay
- isEndOfDay
- isMidnight
- isMidday

Added daysInMonth getter.

Added tests.

Updated documentation.
@BJNSTNKVC BJNSTNKVC linked a pull request Mar 27, 2024 that will close this issue
Merged
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 a pull request may close this issue.

1 participant