Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattmezza/italiantaxcode
Everybody loves to pay taxes! [-_-] This library lets you calculate Italian fiscal code with ease. It also reverts it to go back from the code to every (possible) original info. --- Calcola il codice fiscale a partire dai dati personali e viceversa.
https://github.com/mattmezza/italiantaxcode
code codice codicefiscale fiscal italian tax taxes
Last synced: about 2 months ago
JSON representation
Everybody loves to pay taxes! [-_-] This library lets you calculate Italian fiscal code with ease. It also reverts it to go back from the code to every (possible) original info. --- Calcola il codice fiscale a partire dai dati personali e viceversa.
- Host: GitHub
- URL: https://github.com/mattmezza/italiantaxcode
- Owner: mattmezza
- License: mit
- Created: 2014-09-16T16:16:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-05T21:48:13.000Z (over 5 years ago)
- Last Synced: 2024-10-11T07:09:59.070Z (2 months ago)
- Topics: code, codice, codicefiscale, fiscal, italian, tax, taxes
- Language: Java
- Homepage:
- Size: 271 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
italianTaxCode
==============Everybody loves to pay taxes! [-_-]
This is a library to calculate Italian tax code. It can calculate a tax code from data (name, surname, sex, birth date, birth place) and data (sex, birth date, birth place) from code.
Questa libreria Java ti puΓ² essere utile se devi implementare il calcolo del codice fiscale. Supporta il calcolo del codice fiscale a partire dai dati (nome, cognome, sesso, data di nascita, luogo di nascita) e dei dati (sesso, data di nascita, luogo di nascita) a partire dal codice fiscale.
### Usage
_Clone or download this repository and then add the .jar provided into the building path of your java application._
_Clona o scarica questa repository e poi aggiungi il .jar fornito nel building path della tua applicazione java._
### Usage with gradle
`compile 'me.matteomerola:codicefiscale:0.1.1'` with `jcenter() in the repositories`
```java
FiscalCodeCalculator fcc = new FiscalCodeCalculator();
try {
String fiscalCode = fcc.calculateFC("Mario", "Rossi", 'M', new Date(1979, 2, 31), "Pozzilli");
System.out.println(fiscalCode);
System.out.println("tryin to reverse now...");
Object[] response = fcc.reverseFC(fiscalCode);
for(Object o : response) {
System.out.println(o);
}
} catch(NotSuchCityException e) {}
```###### Trovato un bug π©? Una funzionalitΓ mancante π? Questo codice non sarΓ mica perfetto π ! Crea una issue [qui](https://github.com/mattmezza/italianTaxCode/issues) π!
###### Found a bug π©? A missing feature π? This code is not perfect for sure π ! Fill up an issue [here](https://github.com/mattmezza/italianTaxCode/issues) π!
=============
_Matteo Merola_