Skip to content

Conversation

@drebrez
Copy link
Collaborator

@drebrez drebrez commented Oct 8, 2025

No description provided.

@drebrez drebrez requested a review from Copilot October 8, 2025 09:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new set of DateTime extension methods to provide common utility functions for date and time operations. The changes add three key extension methods with comprehensive test coverage.

  • Added IsMidnight() methods to check if a DateTime represents midnight, with optional seconds tolerance
  • Added IsEndOfMonth() method to determine if a DateTime is the last day of its month
  • Added IsInRange() method to check if a DateTime falls within a specified date range

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
Neolution.Utilities/Extensions/DateTimeExtensions.cs New static class containing the three DateTime extension methods with XML documentation
Neolution.Utilities.UnitTests/Extensions/DateTimeExtensionsTests.cs Comprehensive unit tests covering all extension methods with edge cases and boundary conditions
CHANGELOG.md Updated to document the addition of DateTime extension methods

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link

github-actions bot commented Oct 8, 2025

/_0a452

File Coverage
All files 97%

/_0a452

File Coverage
All files 100%

/2a4d6e

File Coverage
All files 97%

/356dc9

File Coverage
All files 100%

/4003f6

File Coverage
All files 100%

Minimum allowed coverage is 100%

Generated by 🐒 cobertura-action against 7c3b6f9

@drebrez drebrez requested a review from Copilot October 8, 2025 09:58
@drebrez drebrez enabled auto-merge (squash) October 8, 2025 09:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@drebrez drebrez requested a review from Copilot October 8, 2025 12:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

…ts.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@drebrez drebrez requested a review from Copilot October 8, 2025 12:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link

github-actions bot commented Oct 8, 2025

Package Line Rate Branch Rate Complexity Health
Neolution.Utilities 100% 96% 50
Neolution.Utilities.EntityFrameworkCore 100% 100% 5
Neolution.Utilities.AspNetCore 100% 100% 2
Summary 100% (93 / 93) 96% (50 / 52) 57

@drebrez drebrez merged commit 926aadf into main Oct 8, 2025
4 checks passed
@drebrez drebrez deleted the feature/datetime-extensions branch October 8, 2025 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants