Go to the source code of this file.
|
enum | { GPS_EPOCH
, UNIX_EPOCH
} |
|
enum | { SIDEREAL_HMS
, SIDEREAL_RAD
} |
|
enum | {
OUTPUT_DEFAULT
, OUTPUT_DATE
, OUTPUT_SECS
, OUTPUT_JD
,
OUTPUT_MJD
, OUTPUT_LEAPS
, OUTPUT_GMST
} |
|
enum | { SITE_UNSPECIFIED
, SITE_LHO
, SITE_LLO
} |
|
◆ _GNU_SOURCE
#define _GNU_SOURCE /* for setenv() and putenv() */ |
◆ MAX_DATE_STRING_LENGTH
#define MAX_DATE_STRING_LENGTH 256 |
◆ LHO_LONGITUDE_RAD_E
#define LHO_LONGITUDE_RAD_E (LAL_PI*(-119.0+(24.0+27.5657/60.0)/60.0)/180.0) |
◆ LLO_LONGITUDE_RAD_E
#define LLO_LONGITUDE_RAD_E (LAL_PI*(-90.0+(46.0+27.2654/60.0)/60.0)/180.0) |
◆ MAX_ENV_SIZE
#define MAX_ENV_SIZE 1024 |
◆ anonymous enum
Enumerator |
---|
GPS_EPOCH | |
UNIX_EPOCH | |
Definition at line 97 of file tconvert.c.
◆ anonymous enum
Enumerator |
---|
SIDEREAL_HMS | |
SIDEREAL_RAD | |
Definition at line 98 of file tconvert.c.
◆ anonymous enum
Enumerator |
---|
OUTPUT_DEFAULT | |
OUTPUT_DATE | |
OUTPUT_SECS | |
OUTPUT_JD | |
OUTPUT_MJD | |
OUTPUT_LEAPS | |
OUTPUT_GMST | |
Definition at line 99 of file tconvert.c.
◆ anonymous enum
Enumerator |
---|
SITE_UNSPECIFIED | |
SITE_LHO | |
SITE_LLO | |
Definition at line 100 of file tconvert.c.
◆ skip_space()
static const char * skip_space |
( |
const char * |
s | ) |
|
|
static |
◆ is_integer()
static int is_integer |
( |
const char * |
s | ) |
|
|
static |
◆ is_blank()
static int is_blank |
( |
const char * |
s | ) |
|
|
static |
◆ output()
void output |
( |
int |
gps_sec, |
|
|
int |
output_type |
|
) |
| |
◆ usage()
void usage |
( |
const char * |
program, |
|
|
int |
exitcode |
|
) |
| |
◆ parse_options()
char * parse_options |
( |
char * |
buf, |
|
|
int |
buflen, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ unix_to_gps()
int unix_to_gps |
( |
time_t |
unix_sec | ) |
|
◆ gps_to_unix()
time_t gps_to_unix |
( |
int |
gps_sec, |
|
|
int * |
leap |
|
) |
| |
◆ set_zone()
void set_zone |
( |
const char * |
zone | ) |
|
◆ reset_zone()
◆ set_zone_lho()
void set_zone_lho |
( |
void |
| ) |
|
◆ set_zone_llo()
void set_zone_llo |
( |
void |
| ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ output_secs()
static void output_secs |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_date()
static void output_date |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_date_utc()
static void output_date_utc |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_date_local()
static void output_date_local |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_lho_date()
static void output_lho_date |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_llo_date()
static void output_llo_date |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_date_site()
static void output_date_site |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_jd()
static void output_jd |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_mjd()
static void output_mjd |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_leaps()
static void output_leaps |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_sidereal_time()
static void output_sidereal_time |
( |
double |
sidereal_time_rad | ) |
|
|
static |
◆ output_gmst()
static void output_gmst |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_local_sidereal_time_lho()
static void output_local_sidereal_time_lho |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_local_sidereal_time_llo()
static void output_local_sidereal_time_llo |
( |
int |
gps_sec | ) |
|
|
static |
◆ output_sidereal_time_site()
static void output_sidereal_time_site |
( |
int |
gps_sec | ) |
|
|
static |
◆ iso_8601_format
const char* iso_8601_format = "%Y-%m-%dT%H:%M:%S%z" |
◆ rfc_822_format
const char* rfc_822_format = "%a, %d %b %Y %H:%M:%S %z" |
◆ unix_date_format
const char* unix_date_format = "%a %b %d %H:%M:%S %Z %Y" |
◆ utc_unix_date_format
const char* utc_unix_date_format = "%a %b %d %H:%M:%S UTC %Y" |
◆ output_date_format
const char* output_date_format = NULL |
◆ tz
enum { ... } sidereal_format |
◆ utc_flag
◆ verbose
◆ fp