arturmkrtchyan / iban4j

A Java library for generation and validation of the International Bank Account Numbers (IBAN ISO_13616) and Business Identifier Codes (BIC ISO_9362).
http://iban4j.org
Apache License 2.0
276 stars 125 forks source link

Added New Country of JORDAN #6

Closed sonmezburak closed 10 years ago

sonmezburak commented 10 years ago

Hi, Added a New Country of JORDAN.

Sample: JOkk bbbb nnnn 0000 0000 cccc cccc cc
String iban = "JOXXXXXXXXXX"; IbanUtil.validate(iban);

return false but it has to be true.

Thanks.

arturmkrtchyan commented 10 years ago

Can you share what's the exception ?

sonmezburak commented 10 years ago

Hi, Not a exception. This is a new add country codes.

arturmkrtchyan commented 10 years ago

Can you provide exact iban you want to check ?

sonmezburak commented 10 years ago

Hi Artur, Do you want to sample Iban of Jordan?

arturmkrtchyan commented 10 years ago

Hi Burak,

Yes please send it over so I can test it.

Thanks, Artur

sonmezburak commented 10 years ago

Hi Artur, sorry, I'm late Examples: JO77HBHO0440000006126900201001,

arturmkrtchyan commented 10 years ago

Hi Burak,

Thanks for sharing it. Fixed I will create a new release during weekend.

New version 2.0.0 will contain fix for JO and even new API methods like valueOf, getBban, etc...

Thanks, Artur

arturmkrtchyan commented 10 years ago

Hi Burak,

Check out new version 2.0.0

Thanks, Artur

sonmezburak commented 10 years ago

thanks Artur :D