Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (20 loc) · 1003 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 1003 Bytes

acn-validator

Build Status

Implementation of the Australian Company Number Check Digit Validation Algorithm in Scala.

The ASIC definition of the algorithm can ve found here:

http://www.asic.gov.au/for-business/starting-a-company/how-to-start-a-company/australian-company-numbers/australian-company-number-digit-check/

Usage from Java with Maven

    <dependency>
        <groupId>org.scala-lang</groupId>
        <artifactId>scala-library</artifactId>
        <version>2.11.6</version>
    </dependency>
    <dependency>
        <groupId>com.github.edwardsmatt</groupId>
        <artifactId>acn-validator</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <type>jar</type>
    </dependency>


    import com.github.edwardsmatt.asic.validator.ACNValidator;
    ...
    ACNValidator.isValid("000 000 019");