Skip to content

Commit 93fe7da

Browse files
committed
Upgraded v1.0.0 to .NET 8
Published to NuGet
1 parent 559032b commit 93fe7da

22 files changed

+900
-212
lines changed

LICENSE.txt

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Point85
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Release Notes.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ShiftSharp Release Notes
2+
Point85
3+
Kent Randall
4+
5+
v2.0.0: January 20, 2024
6+
- Upgraded v1.0.0 to .NET 8
7+
- Published to NuGet

ShiftSharp.sln

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
21
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 15
4-
VisualStudioVersion = 15.0.27004.2005
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.8.34408.163
54
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShiftSharp", "ShiftSharp\ShiftSharp.csproj", "{0D3FF948-F5BE-4338-94CB-CDC1A4475159}"
5+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ShiftSharp", "ShiftSharp\ShiftSharp.csproj", "{0D3FF948-F5BE-4338-94CB-CDC1A4475159}"
76
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestShiftSharp", "TestShiftSharp\TestShiftSharp.csproj", "{4EA986B7-7046-4501-B3EE-511FDC84D10E}"
7+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestShiftSharp", "TestShiftSharp\TestShiftSharp.csproj", "{4EA986B7-7046-4501-B3EE-511FDC84D10E}"
98
EndProject
109
Global
1110
GlobalSection(SolutionConfigurationPlatforms) = preSolution

ShiftSharp/NonWorkingPeriod.cs

+1-6
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,7 @@ public NonWorkingPeriod() : base()
5757

5858
internal NonWorkingPeriod(string name, string description, LocalDateTime startDateTime, Duration duration) : base(name, description)
5959
{
60-
if (startDateTime == null)
61-
{
62-
throw new Exception(WorkSchedule.GetMessage("start.not.defined"));
63-
}
64-
65-
if (duration == null || duration.TotalSeconds == 0)
60+
if (duration.TotalSeconds == 0)
6661
{
6762
throw new Exception(WorkSchedule.GetMessage("duration.not.defined"));
6863
}

ShiftSharp/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
88
[assembly: AssemblyTitle("ShiftSharp")]
9-
[assembly: AssemblyDescription("C# version of java Shift library")]
9+
[assembly: AssemblyDescription("C# work schedule library")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("Point85")]
1212
[assembly: AssemblyProduct("ShiftSharp")]
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("2.0.0.0")]
36+
[assembly: AssemblyFileVersion("2.0.0.0")]

0 commit comments

Comments
 (0)