Skip to content

Commit

Permalink
Merge pull request #71 from dgg/70-amendments
Browse files Browse the repository at this point in the history
Implement ISO amendments
  • Loading branch information
dgg authored Mar 19, 2024
2 parents b28bf32 + 08eed09 commit 0166b76
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 11 deletions.
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

0 comments on commit 0166b76

Please sign in to comment.