![]() |
VOOZH | about |
dotnet add package Candoumbe.Types.Calendar --version 0.5.0
NuGet\Install-Package Candoumbe.Types.Calendar -Version 0.5.0
<PackageReference Include="Candoumbe.Types.Calendar" Version="0.5.0" />
<PackageVersion Include="Candoumbe.Types.Calendar" Version="0.5.0" />Directory.Packages.props
<PackageReference Include="Candoumbe.Types.Calendar" />Project file
paket add Candoumbe.Types.Calendar --version 0.5.0
#r "nuget: Candoumbe.Types.Calendar, 0.5.0"
#:package Candoumbe.Types.Calendar@0.5.0
#addin nuget:?package=Candoumbe.Types.Calendar&version=0.5.0Install as a Cake Addin
#tool nuget:?package=Candoumbe.Types.Calendar&version=0.5.0Install as a Cake Tool
๐ GitHub Workflow Status (develop)
๐ GitHub Workflow Status (nightly)
๐ GitHub Workflow Status (main)
๐ codecov
๐ GitHub raw issues
๐ Nuget
๐ Nuget
๐ Nuget
๐ Nuget
๐ Mutation testing badge
๐ Mutation testing badge
๐ Mutation testing badge
Various custom types that can be useful when doing development.
This project adheres to Semantic Versioning.
Major version zero (0.y.z) is for initial development. Anything MAY change at any time.
The public API SHOULD NOT be considered stable.
This project was born out of frustration encountered while developing a matching algorithm in a professional context. The goal of that project was to enable the effective matching of one or more temporary workers based on :
With the team back then, it took several weeks to get this "planning matcher" to work properly and, at the time, I was not very happy with the result (specifically with the planning matching part of the algorithm).
That's how I started working on types from namespace.
All following features depend on Candoumbe.Types.Core package.
Calendar namespace contains various types related to calendar operations, such as:
DateTimeRange: a datetime range represents a interval between two DateTimesDateOnlyRange: an interval between two DateOnlysTimeOnlyRange: an interval between two TimeOnlysNumerics namespace contains various types useful when you want to work with very specific numeric values such as:
NonNegativeInteger: a type that can only hold non-negative integersPositiveInteger: a type that can only hold integer values greater than zero.Strings namespace contains various string-like data
A is a special IEnumerable<char>
implementation
that can be used to perform highly performant "replace"
classDiagram
direction RL
namespace Strings {
class StringSegmentNode {
+ ReadonlyMemory~char~ Value
}
class StringSegmentLinkedList {
- StringSegmentNode head
- StringSegmentNode tail
+ Append(ReadOnlySpan~char~) StringSegmentLinkedList
+ Append(StringSegmentLinkedList) StringSegmentLinkedList
+ Contains(ReadOnlySpan~char~) bool
+ Contains(Func~char,bool~) bool
+ Replace(Func~char,bool~ predicate, ReadOnlySpan~char~ newValue) StringSegmentLinkedList
+ Replace(Func~char,bool~ predicate, IReadOnlyDictionaryOfChar~ReadOnlyMemory~char~~ substitutions) StringSegmentLinkedList
+ Replace(char oldValue, char newValue) StringSegmentLinkedList
+ Replace(char oldValue, ReadOnlySpan<char> newValue) StringSegmentLinkedList
+ Replace(ReadOnlySpan~char~ oldValue, ReadOnlySpan<char> newValue) StringSegmentLinkedList
}
}
IEnumerableOfReadOnlyMemory~char~ <|-- StringSegmentLinkedList
StringSegmentLinkedList "1" --> "1" StringSegmentNode: head
StringSegmentLinkedList "0" .. "1" StringSegmentNode: tail
Contributions are welcome! Feel free to submit issues or pull requests to improve the project. License
This project is licensed under the MIT License. See the file for more details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.5.0 | 232 | 11/27/2025 |
| 0.4.2 | 316 | 11/11/2025 |
| 0.4.2-fix.1 | 238 | 8/26/2025 |
| 0.4.1 | 231 | 8/12/2025 |
| 0.4.1-beta.1 | 173 | 8/12/2025 |
| 0.4.0 | 286 | 8/7/2025 |
| 0.4.0-rc.133 | 119 | 8/1/2025 |
| 0.3.1 | 205 | 7/27/2025 |
| 0.3.1-fix.1 | 97 | 7/19/2025 |
| 0.3.0 | 221 | 7/13/2025 |
| 0.3.0-rc.380 | 175 | 6/25/2025 |
| 0.3.0-rc.375 | 187 | 6/22/2025 |
| 0.3.0-rc.103 | 171 | 7/13/2025 |
| 0.3.0-rc.101 | 165 | 7/13/2025 |
### ๐ New features
โข Added net10.0 TFM support ([#346](https://github.com/candoumbe/candoumbe.types/issues/346))
โข Added netstandard2.0 TFM support ([#355](https://github.com/candoumbe/candoumbe.types/issues/355))
โข Added StringSegmentLinkedList.EndsWith(ReadOnlySpan<char>,IEqualityComparer<char>) method ([#287](https://github.com/candoumbe/candoumbe.types/issues/287))
โข Optimized memory usage of StringSegmentLinkedList
โข Added new constructors for StringSegmentNode and StringSegmentLinkedList
โข Improved Append and InsertAt methods to handle different types of inputs
โข Added Compact method to reduce node count and improve locality
### ๐งน Housekeeping
โข Removed unnecessary imports and simplify code
โข Added performance tests for StringSegmentLinkedList
Full changelog at https://github.com/candoumbe/Candoumbe.Types/blob/main/CHANGELOG.md