i18n-formerly-assigned

Provides an enum with ISO 3166-3 codes

License

License

Categories

Categories

ORM Data
GroupId

GroupId

org.meeuw.i18n
ArtifactId

ArtifactId

i18n-formerly-assigned
Last Version

Last Version

0.7
Release Date

Release Date

Type

Type

jar
Description

Description

i18n-formerly-assigned
Provides an enum with ISO 3166-3 codes
Project URL

Project URL

https://github.com/mihxil/i18n-formerly-assigned
Source Code Management

Source Code Management

https://github.com/mihxil/i18n-formerly-assigned

Download i18n-formerly-assigned

How to add to project

<!-- https://jarcasting.com/artifacts/org.meeuw.i18n/i18n-formerly-assigned/ -->
<dependency>
    <groupId>org.meeuw.i18n</groupId>
    <artifactId>i18n-formerly-assigned</artifactId>
    <version>0.7</version>
</dependency>
// https://jarcasting.com/artifacts/org.meeuw.i18n/i18n-formerly-assigned/
implementation 'org.meeuw.i18n:i18n-formerly-assigned:0.7'
// https://jarcasting.com/artifacts/org.meeuw.i18n/i18n-formerly-assigned/
implementation ("org.meeuw.i18n:i18n-formerly-assigned:0.7")
'org.meeuw.i18n:i18n-formerly-assigned:jar:0.7'
<dependency org="org.meeuw.i18n" name="i18n-formerly-assigned" rev="0.7">
  <artifact name="i18n-formerly-assigned" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.meeuw.i18n', module='i18n-formerly-assigned', version='0.7')
)
libraryDependencies += "org.meeuw.i18n" % "i18n-formerly-assigned" % "0.7"
[org.meeuw.i18n/i18n-formerly-assigned "0.7"]

Dependencies

test (2)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-engine jar 5.7.0
org.assertj : assertj-core jar 3.17.2

Project Modules

There are no modules declared in this project.

i18n-formerly-assigned

Build Status Maven Central snapshots javadoc

Introduction

This project creates support for 'formerly assigned country codes' (in the form of the enum org.meeuw.i18n.formerlyassigned.FormerlyAssignedCountryCode . See ISO 3166-3

The idea was to use this in conjuction with neovisionaries nv-i18n which supports current country codes according to ISO 3166-1, and i18n subdivisions with support for subdivisions of countries according to ISO 3166-2.

This is now done via i18n regions.

Implementation

The list of enums values is created by scraping the concerning wikipedia page, using the groovy script in src/main/script, which is called from the maven build.

Java version

The artifact is compatible with java 8 and higher. Only module-info.class is compiled with java target version 11.

Versions

Version
0.7
0.6
0.5
0.4
0.3
0.2
0.1.0