C# Class Utils.AccountUtil

Mostra file Open project: mesan/workmanship-oo-dotnet

Public Properties

Property Type Description
LEN_FNR int
LEN_ORGNR int

Public Methods

Method Description
GyldigFnr ( string fnrOrg ) : bool
ValidAccountNumber ( long accountNumber ) : bool

Private Methods

Method Description
ExtractDigits ( long accountNumber ) : int[]
Mod11Check ( long accountNumber ) : bool

Method Details

GyldigFnr() public static method

public static GyldigFnr ( string fnrOrg ) : bool
fnrOrg string
return bool

ValidAccountNumber() public static method

public static ValidAccountNumber ( long accountNumber ) : bool
accountNumber long
return bool

Property Details

LEN_FNR public_oe static_oe property

public static int LEN_FNR
return int

LEN_ORGNR public_oe static_oe property

public static int LEN_ORGNR
return int