@c Automatically generated by mksamp-2.sed from sun-1.in.
@c
@c This file is included in gcal.texi.
@c
@example
@group
@cartouche
$ cat sun-1.rc
@print{} ; sun-1.rc, comparison of sunrise / sunset, day length and night
@print{} ; length of two locations, namely:  Muenster.DE / Bangkok.TH
@print{} ; All references are based on Muenster.DE !
@print{} ;
@print{} ; Common definitions
@print{} $p=0*d1#999
@print{} $v=%2%4 for that places local time
@print{} $z=actual local time in
@print{} ; Definitions for winter time
@print{} $a=%e#1980 %e0@@a#0@@b-1
@print{} $x=Sun:~%o$c,$w rise, %s$c,$w set, %u$c,$w day, %z$c,$w night~$l
@print{} ; Winter time in Germany == CEWT/GMT-1 (+60 minutes)
@print{} $w=+60
@print{} ; Starting date of winter time in Germany
@print{} b=10sun9
@print{} ; Definitions for summer time (daylight-saving time)
@print{} $b=%e#1980 %i0@@a#0@@b-1
@print{} $y=Sun:~%o$c,$s rise, %s$c,$s set, %u$c,$s day, %z$c,$s night~$l
@print{} ; Summer time in Germany == CEST/GMT-2 (+120 minutes)
@print{} $s=+120
@print{} ; Starting date of summer time in Germany
@print{} a=03sun9
@print{} ; Geographic co-ordinate and name of the location Muenster, Germany
@print{} $c=+5158+00738+61
@print{} $l=%1Muenster
@print{} ; Muenster's local time sunrise etc. for that places local time
@print{} $p $a $x$v
@print{} $p $b $y$v
@print{} ; Muenster's actual local time
@print{} 0 $a %1%@@$w %2 $z $l
@print{} 0 $b %1%@@$s %2 $z $l
@print{} ; Geographic co-ordinate and name of the location Bangkok, Thailand
@print{} $c=+1345+10031+10
@print{} $l=%3Bangkok%4-time converted to $l's%2 local time
@print{} ; Bangkok's sunrise etc. based on Muenster's local time
@print{} $p $a $x
@print{} $p $b $y
@print{} ; Bangkok's local time == WAST/GMT-7 (+420 minutes)
@print{} $t=+420
@print{} $w=$t
@print{} ; Bangkok's actual local time
@print{} $l=%3Bangkok
@print{} 0 $a %3%@@$t %4 $z $l
@print{} 0 $b %3%@@$t %4 $z $l
@print{} ; Bangkok's sunrise etc. for that places local time
@print{} $l=$l$v
@print{} $p $x
@end cartouche
@end group
@end example
