Skip to content
New issue

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

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

Already on GitHub? # to your account

Start of year and start of fiscal year methods #107

Closed
BoBoBaSs84 opened this issue Jul 27, 2024 · 1 comment · Fixed by #108
Closed

Start of year and start of fiscal year methods #107

BoBoBaSs84 opened this issue Jul 27, 2024 · 1 comment · Fixed by #108
Assignees
Labels
feature New feature or request

Comments

@BoBoBaSs84
Copy link
Owner

Is your feature request related to a problem? Please describe.
Quick access via a date value to the start of the year or the start of the fiscal year would be pretty cool. The start of the fiscal year should be definable.

Describe the solution you'd like
Corresponding extension methods would have to be created.

Describe alternatives you've considered
None.

Additional context

public static DateTime StartOfYear(this DateTime dateTime) => new(dateTime.Year, 1, 1);
@BoBoBaSs84 BoBoBaSs84 self-assigned this Jul 27, 2024
@BoBoBaSs84 BoBoBaSs84 added the feature New feature or request label Jul 27, 2024
@BoBoBaSs84
Copy link
Owner Author

Consequently, there should also be methods for the end of the year and the end of the fiscal year.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant