Skip to content

Commit

Permalink
Merge pull request #22 from Hefaistos68/new-features-and-fixes
Browse files Browse the repository at this point in the history
quickfix on failing unit test with invariant culture
  • Loading branch information
Hefaistos68 authored Apr 19, 2023
2 parents 49fb224 + 798fbb7 commit a91fe75
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
25 changes: 16 additions & 9 deletions src/MoreDateTime/docs
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@
</member>
<member name="M:MoreDateTime.DateOnlyRange.IsWithin(MoreDateTime.DateOnlyRange)">
<summary>
Checks if the range is between the given ranges start and end values, including start date and end date, thus completely inside.
Verifies if the this range is contained entirely in the given range, including start and end
</summary>
<param name="value">The DateOnly to compare</param>
<returns>True if the value is greater or equal range.Start and less than or equal range.End</returns>
<param name="value">The value to compare with</param>
<returns>True if this object is entirely within the target range</returns>
</member>
<member name="M:MoreDateTime.DateOnlyRange.Offset(System.TimeSpan)">
<summary>
Expand Down Expand Up @@ -238,10 +238,10 @@
</member>
<member name="M:MoreDateTime.DateTimeRange.IsWithin(MoreDateTime.DateTimeRange)">
<summary>
Checks if the range is between the given ranges start and end values, including start date and end date, thus completely inside.
Verifies if the this range is contained entirely in the given range, including start and end
</summary>
<param name="value">The DateTime to compare</param>
<returns>True if the value is greater or equal range.Start and less than or equal range.End</returns>
<param name="value">The value to compare with</param>
<returns>True if this object is entirely within the target range</returns>
</member>
<member name="M:MoreDateTime.DateTimeRange.Offset(System.TimeSpan)">
<summary>
Expand Down Expand Up @@ -2900,6 +2900,13 @@
<param name="value">The value</param>
<returns>True, if value is within this range</returns>
</member>
<member name="M:MoreDateTime.Interfaces.IRange`2.IsWithin(`1)">
<summary>
Verifies if the this range is contained entirely in the given range, including start and end
</summary>
<param name="value">The value to compare with</param>
<returns>True if this object is entirely within the target range</returns>
</member>
<member name="P:MoreDateTime.Interfaces.IRange`2.IsEmpty">
<summary>
Verifies if the range is empty, Start == End == default(T)
Expand Down Expand Up @@ -3024,10 +3031,10 @@
</member>
<member name="M:MoreDateTime.TimeOnlyRange.IsWithin(MoreDateTime.TimeOnlyRange)">
<summary>
Checks if the range is between the given ranges start and end values, including start time and end time, thus completely inside.
Verifies if the this range is contained entirely in the given range, including start and end
</summary>
<param name="value">The TimeOnly to compare</param>
<returns>True if the value is greater or equal range.Start and less than or equal range.End</returns>
<param name="value">The value to compare with</param>
<returns>True if this object is entirely within the target range</returns>
</member>
<member name="M:MoreDateTime.TimeOnlyRange.Offset(System.TimeSpan)">
<summary>
Expand Down
2 changes: 1 addition & 1 deletion tests/MoreDateTime.Test/NagerHolidayProviderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public void CanCall_NumberOfKnownHolidays()
{
// Arrange
var year = 2020;
var cultureInfo = CultureInfo.CurrentCulture;
var cultureInfo = CultureInfo.GetCultureInfo("DE");

// Act
try
Expand Down

0 comments on commit a91fe75

Please sign in to comment.