LibraryCheck 2.1.0

dotnet add package LibraryCheck --version 2.1.0
NuGet\Install-Package LibraryCheck -Version 2.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LibraryCheck" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LibraryCheck --version 2.1.0
#r "nuget: LibraryCheck, 2.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LibraryCheck as a Cake Addin
#addin nuget:?package=LibraryCheck&version=2.1.0

// Install LibraryCheck as a Cake Tool
#tool nuget:?package=LibraryCheck&version=2.1.0

Metodi disponibili:

  • FunctionDate: Funzioni che determinano l'età di una persona ad oggi o ad una determinata data e di calcolare l'intervallo tra due date espresso in anni o mesi o giorni o ore o....

    • CalcolaEta(DataNascita) Età che si ha ad oggi N.B. Restituisce -1 se si è verificato un errore o una anomalia nei parametri passati

    • CalcolaEta(DataNascita, DataRiferimento) Età che si aveva/avrà ad una determinata data N.B. Restituisce -1 se si è verificato un errore o una anomalia nei parametri passati

    • CalcolaIntervallo(DataInizio, DataFine, Intervallo) Restituisce l'intervallo di tempo tra due date espresso in giorni, ore, minuti... Intervallo = enum Microsoft.VisualBasic.DateInterval N.B. Restituisce -1 se si è verificato un errore o una anomalia nei parametri passati

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - PartitaIVA:

  • PartitaIVA: Funzioni che permettono di verificare o calcolare il checkdigit di una partitaIva
  - VerificaPartitaIVA(PartitaIVA)
      Restituisce true se la partita iva è corretta altrimenti false se errata o incompleta o altro
	
  - CalcolaPartitaIVA(PartitaIVA)
	  Restituisce il checkdigit della partita iva altrimenti -1 se errore nel calcolo o incompleta 

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - IBAN

  • IBAN Strutture: - CodiceIBAN Nazione String SiglaIBAN String SEPA Boolean Valuta String Lunghezza Byte IBAN_Esempio string
Funzioni che permettono di verificare o calcolare l'IBAN delle nazioni, nell'IBAN italiano è anche possibile il calcolo del codice CIN

  - VerificaIBAN(IBAN)
      Restituisce una string uguale ad 'OK' se è corretto altrimenti contiene l'errore riscontrato

  - CalcolaIBAN(Sigla della Nazione, ABI, CAB, ContoCorrente)
      Restituisce l'IBAN calcolato (per l'Italia anche il CIN) calcolato con i dati inseriti altrimenti contiene l'errore riscontrato

  - ListaNazioneIBAN
      Restituisce l'elenco delle nazioni nel costruttore: List<CodiceIBAN>

  - AggiungiNazioneIBAN(Nazione, SEPA, Valuta, IBAN)
      Aggiunge una nazione all'elenco da usare nel calcolo dell'IBAN:
        Nazione = Nome della nazione - es. Italia
        SEPA = True = Pagamenti tramite SEPA altrimenti False - es. True
        Valuta = Sigla della valuta - es. EUR
        IBAN = Esempio del formato dell'IBAN - es. IT99C1234512345123456789012
	  Restituisce: True = Nazione aggiunta altrimenti False se esistente o si è presentato un errore

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - CodiceFiscale

  • CodiceFiscale Enum: - lstSesso Uomo Donna
  Strutture:
  - CodiceBelfiore
    CodiceComune 	String
    NomeComune 		String
    ProvinciaComune String

Funzioni che permettono di verificare o calcolare il codice fiscale
  
  - CodiceFiscaleReverse (CodiceFiscale)
    Restituisce i dati contenuti nel codice fiscale: Cognome/Nome, Data di Nascita, Sesso e città di nascita (separati da \n) altrimenti restituisce il motivo dell'errore

  - CalcolaCodiceFiscale (Cognome, Nome, Data nascita, Sesso, Comune nascita, sigla provincia, [CodiceBelfiore])
    Calcola e restituisce il codice fiscale calcolato dai dati inseriti o l'errore che ha riscontrati durante il calcolo
	
  - VerificaCodiceFiscale (CodiceFiscale)
    Restituisce True se il CodiceFiscale è corretto altrimenti False per qualsiasi altra motivazione

  - ListaCodiceBelfiore
    Restituisce l'elenco dei Comuni/Nazioni con il codice belfiore usando il costrutto: List<CodiceBelfiore>  
	
  - AggiungiCodiceBelfiore(CodiceBelfiore, Nome Comune, Sigla Provincia)
    Restituisce True se inserito altrimenti false se esistente o c'è stato un errore
	
  - VerificaCodiceBelfiore(Codice Belfiore)
    Restituisce True se il codice esiste altrimenti False

  - VerificaComuneBelfiore(Nome comune, Sigla Provincia)
    Restituisce True se il codice esiste altrimenti False
	
	
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.0 3,287 1/2/2022
1.0.1 308 10/18/2021

Add list of Countries around the world for IBAN and City of Italy for fiscal code.