When any duty is or shall be enjoined by law upon any public officer, or upon any person holding any public trust or employment, every wilful [willful] neglect to perform such duty, where no special provision shall have been made for the punishment of such delinquency, shall be deemed a misdemeanor, punishable by imprisonment in the county jail for not less than ten nor more than sixty days or by a fine of not less than $100, nor more than $500.
NMS § 10-17-12