Skip to content
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
2 changes: 1 addition & 1 deletion src/Nager.Country/CountryInfos/CuracaoCountryInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public sealed class CuracaoCountryInfo : ICountryInfo
public Alpha2Code[] BorderCountries => [];

/// <inheritdoc/>
public ICurrency[] Currencies => [CurrencyProvider.Ang];
public ICurrency[] Currencies => [CurrencyProvider.Xcg];

/// <inheritdoc/>
public string[] CallingCodes => ["5999"];
Expand Down
2 changes: 1 addition & 1 deletion src/Nager.Country/CountryInfos/SintMaartenCountryInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public sealed class SintMaartenCountryInfo : ICountryInfo
];

/// <inheritdoc/>
public ICurrency[] Currencies => [CurrencyProvider.Ang];
public ICurrency[] Currencies => [CurrencyProvider.Xcg];

/// <inheritdoc/>
public string[] CallingCodes => ["1721"];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
namespace Nager.Country.Currencies
{
/// <summary>
/// Ang Currency
/// Xcg Currency
/// </summary>
public sealed class AngCurrency : ICurrency
public sealed class XcgCurrency : ICurrency
{
/// <inheritdoc/>
public string? Symbol => "NAƒ";
public string? Symbol => "Cg";

/// <inheritdoc/>
public string? Singular => "guilder";
Expand All @@ -15,12 +15,12 @@ public sealed class AngCurrency : ICurrency
public string? Plural => "guilders";

/// <inheritdoc/>
public string IsoCode => "ANG";
public string IsoCode => "XCG";

/// <inheritdoc/>
public string NumericCode => "532";

/// <inheritdoc/>
public string Name => "Netherlands Antillean guilder";
public string Name => "Caribbean guilder";
}
}
8 changes: 4 additions & 4 deletions src/Nager.Country/CurrencyProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
/// </summary>
public static readonly ICurrency Amd = new AmdCurrency();
/// <summary>
/// ANG currency
/// </summary>
public static readonly ICurrency Ang = new AngCurrency();
/// <summary>
/// AOA currency
/// </summary>
public static readonly ICurrency Aoa = new AoaCurrency();
Expand Down Expand Up @@ -63,7 +59,7 @@
/// <summary>
/// BGN currency
/// </summary>
public static readonly ICurrency Bgn = new BgnCurrency();

Check warning on line 62 in src/Nager.Country/CurrencyProvider.cs

View workflow job for this annotation

GitHub Actions / build

'BgnCurrency' is obsolete: 'Replaced with ECurrency. Use EurCurrency instead.'

Check warning on line 62 in src/Nager.Country/CurrencyProvider.cs

View workflow job for this annotation

GitHub Actions / build

'BgnCurrency' is obsolete: 'Replaced with ECurrency. Use EurCurrency instead.'

Check warning on line 62 in src/Nager.Country/CurrencyProvider.cs

View workflow job for this annotation

GitHub Actions / build

'BgnCurrency' is obsolete: 'Replaced with ECurrency. Use EurCurrency instead.'

Check warning on line 62 in src/Nager.Country/CurrencyProvider.cs

View workflow job for this annotation

GitHub Actions / build

'BgnCurrency' is obsolete: 'Replaced with ECurrency. Use EurCurrency instead.'

Check warning on line 62 in src/Nager.Country/CurrencyProvider.cs

View workflow job for this annotation

GitHub Actions / build

'BgnCurrency' is obsolete: 'Replaced with ECurrency. Use EurCurrency instead.'

Check warning on line 62 in src/Nager.Country/CurrencyProvider.cs

View workflow job for this annotation

GitHub Actions / build

'BgnCurrency' is obsolete: 'Replaced with ECurrency. Use EurCurrency instead.'

Check warning on line 62 in src/Nager.Country/CurrencyProvider.cs

View workflow job for this annotation

GitHub Actions / build

'BgnCurrency' is obsolete: 'Replaced with ECurrency. Use EurCurrency instead.'

Check warning on line 62 in src/Nager.Country/CurrencyProvider.cs

View workflow job for this annotation

GitHub Actions / build

'BgnCurrency' is obsolete: 'Replaced with ECurrency. Use EurCurrency instead.'

Check warning on line 62 in src/Nager.Country/CurrencyProvider.cs

View workflow job for this annotation

GitHub Actions / build

'BgnCurrency' is obsolete: 'Replaced with ECurrency. Use EurCurrency instead.'

Check warning on line 62 in src/Nager.Country/CurrencyProvider.cs

View workflow job for this annotation

GitHub Actions / build

'BgnCurrency' is obsolete: 'Replaced with ECurrency. Use EurCurrency instead.'
/// <summary>
/// BHD currency
/// </summary>
Expand Down Expand Up @@ -621,6 +617,10 @@
/// </summary>
public static readonly ICurrency Xcd = new XcdCurrency();
/// <summary>
/// XCG currency
/// </summary>
public static readonly ICurrency Xcg = new XcgCurrency();
/// <summary>
/// XDR currency
/// </summary>
public static readonly ICurrency Xdr = new XdrCurrency();
Expand Down