From d31954453bd8c859a1519ff5cd0dbd4a6f2257b4 Mon Sep 17 00:00:00 2001 From: Stephen Booth Date: Fri, 2 Jan 2026 18:36:54 -0600 Subject: [PATCH] Add SPDX tags --- LICENSE.txt | 2 +- LICENSES/MIT.txt | 21 +++++++++++++++++++ Package.swift | 7 ++++++- .../JulianDayNumber/ArmenianCalendar.swift | 5 +++-- .../AstronomicalCalendar.swift | 5 +++-- Sources/JulianDayNumber/BahaiCalendar.swift | 5 +++-- .../JulianDayNumber/Calendar+JulianDate.swift | 5 +++-- Sources/JulianDayNumber/Calendar.swift | 5 +++-- .../JulianDayNumber/CalendarProtocol.swift | 5 +++-- Sources/JulianDayNumber/CopticCalendar.swift | 5 +++-- Sources/JulianDayNumber/Date+JD.swift | 5 +++-- .../JulianDayNumber/EgyptianCalendar.swift | 5 +++-- .../JulianDayNumber/EthiopianCalendar.swift | 5 +++-- .../FrenchRepublicanCalendar.swift | 5 +++-- .../JulianDayNumber/GregorianCalendar.swift | 5 +++-- Sources/JulianDayNumber/HebrewCalendar.swift | 5 +++-- Sources/JulianDayNumber/ISOCalendar.swift | 5 +++-- Sources/JulianDayNumber/IslamicCalendar.swift | 5 +++-- Sources/JulianDayNumber/JDNConverter.swift | 5 +++-- .../JDNGregorianConverter.swift | 5 +++-- .../JulianDayNumber/JDNSakaConverter.swift | 5 +++-- Sources/JulianDayNumber/JulianCalendar.swift | 5 +++-- .../JulianDayNumberConverting.swift | 5 +++-- .../JulianDayNumber/KhwarizmianCalendar.swift | 5 +++-- .../JulianDayNumber/MacedonianCalendar.swift | 5 +++-- Sources/JulianDayNumber/MayaCalendar.swift | 5 +++-- Sources/JulianDayNumber/PersianCalendar.swift | 5 +++-- Sources/JulianDayNumber/SakaCalendar.swift | 5 +++-- Sources/JulianDayNumber/SyrianCalendar.swift | 5 +++-- .../ArmenianCalendarTests.swift | 5 +++-- .../AstronomicalCalendarTests.swift | 5 +++-- .../BahaiCalendarTests.swift | 5 +++-- .../CongruenceTests.swift | 5 +++-- .../CopticCalendarTests.swift | 5 +++-- Tests/JulianDayNumberTests/Date+JDTests.swift | 5 +++-- .../EgyptianCalendarTests.swift | 5 +++-- .../EthiopianCalendarTests.swift | 5 +++-- .../FrenchRepublicanCalendarTests.swift | 5 +++-- .../GregorianCalendarTests.swift | 5 +++-- .../HebrewCalendarTests.swift | 5 +++-- .../ISOCalendarTests.swift | 5 +++-- .../IslamicCalendarTests.swift | 5 +++-- .../JDNRoundTripTests.swift | 5 +++-- .../JulianCalendarTests.swift | 5 +++-- .../KhwarizmianCalendarTests.swift | 5 +++-- .../MacedonianCalendarTests.swift | 5 +++-- .../MayaCalendarTests.swift | 5 +++-- .../PersianCalendarTests.swift | 5 +++-- .../SakaCalendarTests.swift | 5 +++-- .../SyrianCalendarTests.swift | 5 +++-- 50 files changed, 169 insertions(+), 96 deletions(-) create mode 100644 LICENSES/MIT.txt diff --git a/LICENSE.txt b/LICENSE.txt index c71e1d8..6e5f8dd 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2021-2025 Stephen F. Booth +Copyright (c) 2021-2026 Stephen F. Booth Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..63b4b68 --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) [year] [fullname] + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/Package.swift b/Package.swift index 5dc5d52..beaca23 100644 --- a/Package.swift +++ b/Package.swift @@ -1,5 +1,10 @@ // swift-tools-version: 5.5 -// The swift-tools-version declares the minimum version of Swift required to build this package. +// +// SPDX-FileCopyrightText: 2023 Stephen F. Booth +// SPDX-License-Identifier: MIT +// +// Part of https://github.com/sbooth/JulianDayNumber +// import PackageDescription diff --git a/Sources/JulianDayNumber/ArmenianCalendar.swift b/Sources/JulianDayNumber/ArmenianCalendar.swift index bf62520..bef5ec0 100644 --- a/Sources/JulianDayNumber/ArmenianCalendar.swift +++ b/Sources/JulianDayNumber/ArmenianCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Armenian calendar is a solar calendar with 365 days in the year. diff --git a/Sources/JulianDayNumber/AstronomicalCalendar.swift b/Sources/JulianDayNumber/AstronomicalCalendar.swift index d428e0c..69262fb 100644 --- a/Sources/JulianDayNumber/AstronomicalCalendar.swift +++ b/Sources/JulianDayNumber/AstronomicalCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// A hybrid calendar that uses the Julian calendar for dates on or before October 4, 1582 and the Gregorian calendar for dates on or after October 15, 1582. diff --git a/Sources/JulianDayNumber/BahaiCalendar.swift b/Sources/JulianDayNumber/BahaiCalendar.swift index 50f04d3..06a0134 100644 --- a/Sources/JulianDayNumber/BahaiCalendar.swift +++ b/Sources/JulianDayNumber/BahaiCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Baháʼí calendar is a solar calendar with 365 days in the year plus an additional leap day in certain years. diff --git a/Sources/JulianDayNumber/Calendar+JulianDate.swift b/Sources/JulianDayNumber/Calendar+JulianDate.swift index 2b68d04..cfe534a 100644 --- a/Sources/JulianDayNumber/Calendar+JulianDate.swift +++ b/Sources/JulianDayNumber/Calendar+JulianDate.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Foundation diff --git a/Sources/JulianDayNumber/Calendar.swift b/Sources/JulianDayNumber/Calendar.swift index 7b3d721..d28e7ee 100644 --- a/Sources/JulianDayNumber/Calendar.swift +++ b/Sources/JulianDayNumber/Calendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// A calendar measuring time using years, months, and days. diff --git a/Sources/JulianDayNumber/CalendarProtocol.swift b/Sources/JulianDayNumber/CalendarProtocol.swift index 9272791..4b991e2 100644 --- a/Sources/JulianDayNumber/CalendarProtocol.swift +++ b/Sources/JulianDayNumber/CalendarProtocol.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// A calendar that supports Julian day number to date conversion. diff --git a/Sources/JulianDayNumber/CopticCalendar.swift b/Sources/JulianDayNumber/CopticCalendar.swift index a2ae06b..b534eca 100644 --- a/Sources/JulianDayNumber/CopticCalendar.swift +++ b/Sources/JulianDayNumber/CopticCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Coptic calendar is a solar calendar with 365 days in the year plus an additional leap day every fourth year. diff --git a/Sources/JulianDayNumber/Date+JD.swift b/Sources/JulianDayNumber/Date+JD.swift index b420d47..048bda8 100644 --- a/Sources/JulianDayNumber/Date+JD.swift +++ b/Sources/JulianDayNumber/Date+JD.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2024 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Foundation diff --git a/Sources/JulianDayNumber/EgyptianCalendar.swift b/Sources/JulianDayNumber/EgyptianCalendar.swift index 9711e97..8dd6eae 100644 --- a/Sources/JulianDayNumber/EgyptianCalendar.swift +++ b/Sources/JulianDayNumber/EgyptianCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Egyptian calendar is a solar calendar with 365 days in the year. diff --git a/Sources/JulianDayNumber/EthiopianCalendar.swift b/Sources/JulianDayNumber/EthiopianCalendar.swift index ca77ef2..2714c55 100644 --- a/Sources/JulianDayNumber/EthiopianCalendar.swift +++ b/Sources/JulianDayNumber/EthiopianCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Ethiopian calendar is a solar calendar with 365 days in the year plus an additional leap day every fourth year. diff --git a/Sources/JulianDayNumber/FrenchRepublicanCalendar.swift b/Sources/JulianDayNumber/FrenchRepublicanCalendar.swift index 441501f..ce82912 100644 --- a/Sources/JulianDayNumber/FrenchRepublicanCalendar.swift +++ b/Sources/JulianDayNumber/FrenchRepublicanCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The modified French Republican calendar is an astronomical calendar with 365 days in the year plus an additional leap day in certain years. diff --git a/Sources/JulianDayNumber/GregorianCalendar.swift b/Sources/JulianDayNumber/GregorianCalendar.swift index cbaadf2..2fe11a6 100644 --- a/Sources/JulianDayNumber/GregorianCalendar.swift +++ b/Sources/JulianDayNumber/GregorianCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Gregorian calendar is a solar calendar with 365 days in the year plus an additional leap day in certain years. diff --git a/Sources/JulianDayNumber/HebrewCalendar.swift b/Sources/JulianDayNumber/HebrewCalendar.swift index 0e6ae6c..23d989d 100644 --- a/Sources/JulianDayNumber/HebrewCalendar.swift +++ b/Sources/JulianDayNumber/HebrewCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Hebrew calendar is a lunisolar calendar with either 353, 354, 355, 383, 384, or 385 days in the year. diff --git a/Sources/JulianDayNumber/ISOCalendar.swift b/Sources/JulianDayNumber/ISOCalendar.swift index 7e489b7..df0c831 100644 --- a/Sources/JulianDayNumber/ISOCalendar.swift +++ b/Sources/JulianDayNumber/ISOCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The ISO week-numbering calendar. diff --git a/Sources/JulianDayNumber/IslamicCalendar.swift b/Sources/JulianDayNumber/IslamicCalendar.swift index 94765d7..1f4dc2e 100644 --- a/Sources/JulianDayNumber/IslamicCalendar.swift +++ b/Sources/JulianDayNumber/IslamicCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Islamic calendar is a lunar calendar with 354 days in the year plus an additional leap day in certain years. diff --git a/Sources/JulianDayNumber/JDNConverter.swift b/Sources/JulianDayNumber/JDNConverter.swift index fc25028..ec1da0b 100644 --- a/Sources/JulianDayNumber/JDNConverter.swift +++ b/Sources/JulianDayNumber/JDNConverter.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// Possible values for a temporal translation. diff --git a/Sources/JulianDayNumber/JDNGregorianConverter.swift b/Sources/JulianDayNumber/JDNGregorianConverter.swift index 2a37cd6..48d1c27 100644 --- a/Sources/JulianDayNumber/JDNGregorianConverter.swift +++ b/Sources/JulianDayNumber/JDNGregorianConverter.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// A converter implementing algorithms for interconverting a Julian day number and a year, month, and day in calendars using Gregorian-type intercalating. diff --git a/Sources/JulianDayNumber/JDNSakaConverter.swift b/Sources/JulianDayNumber/JDNSakaConverter.swift index ef3ee5b..302cf9b 100644 --- a/Sources/JulianDayNumber/JDNSakaConverter.swift +++ b/Sources/JulianDayNumber/JDNSakaConverter.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// A converter implementing algorithms for interconverting a Julian day number and a year, month, and day in the Śaka calendar. diff --git a/Sources/JulianDayNumber/JulianCalendar.swift b/Sources/JulianDayNumber/JulianCalendar.swift index 1a2643d..6a2ca33 100644 --- a/Sources/JulianDayNumber/JulianCalendar.swift +++ b/Sources/JulianDayNumber/JulianCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Julian calendar is a solar calendar with 365 days in the year plus an additional leap day every fourth year. diff --git a/Sources/JulianDayNumber/JulianDayNumberConverting.swift b/Sources/JulianDayNumber/JulianDayNumberConverting.swift index 6754f91..95a595c 100644 --- a/Sources/JulianDayNumber/JulianDayNumberConverting.swift +++ b/Sources/JulianDayNumber/JulianDayNumberConverting.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// A Julian day number. diff --git a/Sources/JulianDayNumber/KhwarizmianCalendar.swift b/Sources/JulianDayNumber/KhwarizmianCalendar.swift index 9f5eea2..2be31ed 100644 --- a/Sources/JulianDayNumber/KhwarizmianCalendar.swift +++ b/Sources/JulianDayNumber/KhwarizmianCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Khwarizmian calendar is a solar calendar with 365 days in the year. diff --git a/Sources/JulianDayNumber/MacedonianCalendar.swift b/Sources/JulianDayNumber/MacedonianCalendar.swift index 585464c..8de6c19 100644 --- a/Sources/JulianDayNumber/MacedonianCalendar.swift +++ b/Sources/JulianDayNumber/MacedonianCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Macedonian calendar is a solar calendar with 365 days in the year plus an additional leap day every fourth year. diff --git a/Sources/JulianDayNumber/MayaCalendar.swift b/Sources/JulianDayNumber/MayaCalendar.swift index 6532ff2..d2f7881 100644 --- a/Sources/JulianDayNumber/MayaCalendar.swift +++ b/Sources/JulianDayNumber/MayaCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Maya calendar. diff --git a/Sources/JulianDayNumber/PersianCalendar.swift b/Sources/JulianDayNumber/PersianCalendar.swift index c571399..102dcc8 100644 --- a/Sources/JulianDayNumber/PersianCalendar.swift +++ b/Sources/JulianDayNumber/PersianCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Persian calendar is a solar calendar with 365 days in the year. diff --git a/Sources/JulianDayNumber/SakaCalendar.swift b/Sources/JulianDayNumber/SakaCalendar.swift index 28e7d44..71b29fc 100644 --- a/Sources/JulianDayNumber/SakaCalendar.swift +++ b/Sources/JulianDayNumber/SakaCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Śaka calendar is a solar calendar with 365 days in the year plus an additional leap day in certain years. diff --git a/Sources/JulianDayNumber/SyrianCalendar.swift b/Sources/JulianDayNumber/SyrianCalendar.swift index c082c48..236fd80 100644 --- a/Sources/JulianDayNumber/SyrianCalendar.swift +++ b/Sources/JulianDayNumber/SyrianCalendar.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // /// The Syrian calendar is a solar calendar with 365 days in the year plus an additional leap day every fourth year. diff --git a/Tests/JulianDayNumberTests/ArmenianCalendarTests.swift b/Tests/JulianDayNumberTests/ArmenianCalendarTests.swift index cc204e1..0a9e22e 100644 --- a/Tests/JulianDayNumberTests/ArmenianCalendarTests.swift +++ b/Tests/JulianDayNumberTests/ArmenianCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/AstronomicalCalendarTests.swift b/Tests/JulianDayNumberTests/AstronomicalCalendarTests.swift index a15bd15..b9f8c08 100644 --- a/Tests/JulianDayNumberTests/AstronomicalCalendarTests.swift +++ b/Tests/JulianDayNumberTests/AstronomicalCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/BahaiCalendarTests.swift b/Tests/JulianDayNumberTests/BahaiCalendarTests.swift index f3964e7..c2ceb98 100644 --- a/Tests/JulianDayNumberTests/BahaiCalendarTests.swift +++ b/Tests/JulianDayNumberTests/BahaiCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/CongruenceTests.swift b/Tests/JulianDayNumberTests/CongruenceTests.swift index 1f56fee..f0a8d4d 100644 --- a/Tests/JulianDayNumberTests/CongruenceTests.swift +++ b/Tests/JulianDayNumberTests/CongruenceTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/CopticCalendarTests.swift b/Tests/JulianDayNumberTests/CopticCalendarTests.swift index 689b3b6..58cf986 100644 --- a/Tests/JulianDayNumberTests/CopticCalendarTests.swift +++ b/Tests/JulianDayNumberTests/CopticCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/Date+JDTests.swift b/Tests/JulianDayNumberTests/Date+JDTests.swift index a9ead54..dc0edaf 100644 --- a/Tests/JulianDayNumberTests/Date+JDTests.swift +++ b/Tests/JulianDayNumberTests/Date+JDTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/EgyptianCalendarTests.swift b/Tests/JulianDayNumberTests/EgyptianCalendarTests.swift index cdd812f..3ddf937 100644 --- a/Tests/JulianDayNumberTests/EgyptianCalendarTests.swift +++ b/Tests/JulianDayNumberTests/EgyptianCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/EthiopianCalendarTests.swift b/Tests/JulianDayNumberTests/EthiopianCalendarTests.swift index d07860b..139c43d 100644 --- a/Tests/JulianDayNumberTests/EthiopianCalendarTests.swift +++ b/Tests/JulianDayNumberTests/EthiopianCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/FrenchRepublicanCalendarTests.swift b/Tests/JulianDayNumberTests/FrenchRepublicanCalendarTests.swift index b287daf..2105da9 100644 --- a/Tests/JulianDayNumberTests/FrenchRepublicanCalendarTests.swift +++ b/Tests/JulianDayNumberTests/FrenchRepublicanCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/GregorianCalendarTests.swift b/Tests/JulianDayNumberTests/GregorianCalendarTests.swift index 006a15c..2a6eb6d 100644 --- a/Tests/JulianDayNumberTests/GregorianCalendarTests.swift +++ b/Tests/JulianDayNumberTests/GregorianCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/HebrewCalendarTests.swift b/Tests/JulianDayNumberTests/HebrewCalendarTests.swift index cd5efe1..0fbe23e 100644 --- a/Tests/JulianDayNumberTests/HebrewCalendarTests.swift +++ b/Tests/JulianDayNumberTests/HebrewCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/ISOCalendarTests.swift b/Tests/JulianDayNumberTests/ISOCalendarTests.swift index dd81b68..7ae7858 100644 --- a/Tests/JulianDayNumberTests/ISOCalendarTests.swift +++ b/Tests/JulianDayNumberTests/ISOCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/IslamicCalendarTests.swift b/Tests/JulianDayNumberTests/IslamicCalendarTests.swift index 652dab3..acee667 100644 --- a/Tests/JulianDayNumberTests/IslamicCalendarTests.swift +++ b/Tests/JulianDayNumberTests/IslamicCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/JDNRoundTripTests.swift b/Tests/JulianDayNumberTests/JDNRoundTripTests.swift index 40aa6af..fe6c8d7 100644 --- a/Tests/JulianDayNumberTests/JDNRoundTripTests.swift +++ b/Tests/JulianDayNumberTests/JDNRoundTripTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/JulianCalendarTests.swift b/Tests/JulianDayNumberTests/JulianCalendarTests.swift index 84e56ae..d066031 100644 --- a/Tests/JulianDayNumberTests/JulianCalendarTests.swift +++ b/Tests/JulianDayNumberTests/JulianCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/KhwarizmianCalendarTests.swift b/Tests/JulianDayNumberTests/KhwarizmianCalendarTests.swift index 80d733a..f734985 100644 --- a/Tests/JulianDayNumberTests/KhwarizmianCalendarTests.swift +++ b/Tests/JulianDayNumberTests/KhwarizmianCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/MacedonianCalendarTests.swift b/Tests/JulianDayNumberTests/MacedonianCalendarTests.swift index a766585..cd99d82 100644 --- a/Tests/JulianDayNumberTests/MacedonianCalendarTests.swift +++ b/Tests/JulianDayNumberTests/MacedonianCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/MayaCalendarTests.swift b/Tests/JulianDayNumberTests/MayaCalendarTests.swift index c2407a3..3bed0b2 100644 --- a/Tests/JulianDayNumberTests/MayaCalendarTests.swift +++ b/Tests/JulianDayNumberTests/MayaCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/PersianCalendarTests.swift b/Tests/JulianDayNumberTests/PersianCalendarTests.swift index eb3baaf..42a8502 100644 --- a/Tests/JulianDayNumberTests/PersianCalendarTests.swift +++ b/Tests/JulianDayNumberTests/PersianCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/SakaCalendarTests.swift b/Tests/JulianDayNumberTests/SakaCalendarTests.swift index 368b39e..7a415ec 100644 --- a/Tests/JulianDayNumberTests/SakaCalendarTests.swift +++ b/Tests/JulianDayNumberTests/SakaCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing diff --git a/Tests/JulianDayNumberTests/SyrianCalendarTests.swift b/Tests/JulianDayNumberTests/SyrianCalendarTests.swift index a358ec7..7f22909 100644 --- a/Tests/JulianDayNumberTests/SyrianCalendarTests.swift +++ b/Tests/JulianDayNumberTests/SyrianCalendarTests.swift @@ -1,7 +1,8 @@ // -// Copyright © 2021-2025 Stephen F. Booth +// SPDX-FileCopyrightText: 2021 Stephen F. Booth +// SPDX-License-Identifier: MIT +// // Part of https://github.com/sbooth/JulianDayNumber -// MIT license // import Testing