3 # $FreeBSD: src/share/zoneinfo/yearistype.sh,v 1.1.2.3.8.1 2000/10/25 19:44:09 wollman Exp $
4 # $DragonFly: src/share/zoneinfo/yearistype.sh,v 1.4 2006/10/08 10:56:37 swildner Exp $
5 : 'This file is in the public domain, so clarified as of'
6 : '2006-07-17 by Arthur David Olson.'
8 : '@(#)yearistype.sh 8.2'
12 echo "$0: wild year - $1" >&2
22 2-nonpres|
2-nonuspres)
24 *[02468][048]|
*[13579][26]) exit 1 ;;
34 *[02468][048]|
*[13579][26]) exit 0 ;;
38 echo "$0: wild type - $2" >&2 ;;
41 echo "$0: usage is $0 year even|odd|uspres|nonpres|nonuspres" >&2