Exemple #1
0
        /// <summary>
        /// Returns true if given valid JMBG.
        /// </summary>
        /// <param name="jmbg">JMBG to check.</param>
        /// <param name="parseOib">If true, OIB is also allowed.</param>
        public static bool IsValidJmbg(string jmbg, bool parseOib)
        {
            var instance = new Jmbg(jmbg, parseOib);

            return(instance.IsValid);
        }