SUNRISE-SET(1) SUNRISE-SET(1) NAME sunrise-set - calculate sunrise and sunset SYNOPSIS sunrise-set [-d] [-L longitude] [-l latitude] [-r] [-s] [-v] DESCRIPTION Sunrise-set.c is for calculating the time of sunrise and sunset for the current date and fixed latitude and longitude. The program is based on rscalc.c by Jarmo Lammi, with suggestions by David Smith. OPTIONS -d Print nothing, but return 0 if daytime, 2 if not. -L longitude Decimal local longitude, (-121.975916667). -l latitude Decimal local latitude, (37.276833333). -r Print actual sunrise. -s Print actual sunset. -v Print the version and copyright banner of the program. WARNINGS There is little or no provision for handling numerical exceptions. SEE ALSO DIAGNOSTICS Error messages for incompatible arguments. AUTHORS ---------------------------------------------------------------------- A license is hereby granted to reproduce this software source code and to create executable versions from this source code for personal, non-commercial use. The copyright notice included with the software must be maintained in all copies produced. THIS PROGRAM IS PROVIDED "AS IS". THE AUTHOR PROVIDES NO WARRANTIES WHATSOEVER, EXPRESSED OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, TITLE, OR FITNESS FOR ANY PARTICULAR PURPOSE. THE AUTHOR DOES NOT WARRANT THAT USE OF THIS PROGRAM DOES NOT INFRINGE THE INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY IN ANY COUNTRY. Copyright (c) 1994-2007, John Conover, All Rights Reserved. Comments and/or bug reports should be addressed to: john@email.johncon.com (John Conover) ---------------------------------------------------------------------- January 17, 2007 SUNRISE-SET(1)