1877 in New Zealand law