File: time.h

package info (click to toggle)
iraf 2.18.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 86,000 kB
  • sloc: ansic: 115,890; fortran: 74,576; lisp: 18,888; yacc: 5,642; sh: 961; lex: 596; makefile: 509; asm: 159; csh: 54; xml: 33; sed: 4
file content (17 lines) | stat: -rw-r--r-- 675 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# TIME.H -- Define the time value structure for brktime, cnvtime.

define	SZ_TIME		24		# size of "Dow 00:00:00 dd-Mmm-yyyy"
define	SZ_DATE		12		# size of "Mmm dd hh:mm"
define	LEN_TMSTRUCT	8		# length of time struct

define	TM_SEC		$1[1]		# seconds (0-59)
define	TM_MIN		$1[2]		# minutes (0-59)
define	TM_HOUR		$1[3]		# hour (0-23)
define	TM_MDAY		$1[4]		# day of month (1-31)
define	TM_MONTH	$1[5]		# month (1-12)
define	TM_YEAR		$1[6]		# year, e.g. "1982"
define	TM_WDAY		$1[7]		# day of week (Sun == 1)
define	TM_YDAY		$1[8]		# day of year (1-365/6)

# Conversion flags for the etc$dtm date/time conversion routines.
define	TF_OLDFITS	1		# old FITS format DATE-OBS string