Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ISO amendments #71

Merged
merged 6 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 30 additions & 2 deletions src/NMoneys/CurrencyIsoCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -858,13 +858,14 @@ public enum CurrencyIsoCode : ushort
/// <summary>
/// Croatian Kuna
/// </summary>
[CanonicalCulture("hr-HR")]
[CanonicalCulture("hr-HR"), Obsolete("deprecated in favor of EUR")]
[Info(
englishName: "Kuna", nativeName: "hrvatska kuna", symbol: "kn",
significantDecimalDigits: 2,
decimalSeparator: ",",
groupSeparator: ".", groupSizes: new byte[] { 3 },
positivePattern: 3, negativePattern: 8
positivePattern: 3, negativePattern: 8,
isObsolete: true
)]
HRK = 191,

Expand Down Expand Up @@ -1817,6 +1818,20 @@ public enum CurrencyIsoCode : ushort
groupSeparator: ",", groupSizes: new byte[] { 3 },
positivePattern: 0, negativePattern: 1
)]
SLE = 925,

/// <summary>
/// Leone
/// </summary>
[CanonicalCulture("en-SL"), Obsolete("deprecated in favor of SLE")]
[Info(
englishName: "Leone", nativeName: "Leone", symbol: "Le",
significantDecimalDigits: 2,
decimalSeparator: ".",
groupSeparator: ",", groupSizes: new byte[] { 3 },
positivePattern: 0, negativePattern: 1,
isObsolete: true
)]
SLL = 694,

/// <summary>
Expand Down Expand Up @@ -2167,6 +2182,19 @@ public enum CurrencyIsoCode : ushort
)]
UZS = 860,

/// <summary>
/// Bolívar Soberano
/// </summary>
[CanonicalCulture("es-VE")]
[Info(
englishName: "Bolívar Soberano", nativeName: "Bolívar Digital", symbol: "Bs.D",
significantDecimalDigits: 2,
decimalSeparator: ",",
groupSeparator: ".", groupSizes: new byte[] { 3 },
positivePattern: 0, negativePattern: 2
)]
VED = 926,

/// <summary>
/// Bolivar
/// </summary>
Expand Down
8 changes: 4 additions & 4 deletions src/NMoneys/NMoneys.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
</PropertyGroup>

<PropertyGroup>
<Version>7.1.0</Version>
<AssemblyVersion>7.1.0.0</AssemblyVersion>
<FileVersion>7.1.0.0</FileVersion>
<PackageVersion>7.1.0</PackageVersion>
<Version>7.2.0</Version>
<AssemblyVersion>7.2.0.0</AssemblyVersion>
<FileVersion>7.2.0.0</FileVersion>
<PackageVersion>7.2.0</PackageVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
10 changes: 5 additions & 5 deletions tests/NMoneys.Tests/NMoneys.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit.Analyzers" Version="3.8.0" />
<PackageReference Include="coverlet.collector" Version="6.0.0" />
<PackageReference Include="Testing.Commons.NUnit" Version="5.0.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.1.0" />
<PackageReference Include="coverlet.collector" Version="6.0.2" />
<PackageReference Include="Testing.Commons.NUnit" Version="6.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading