4 int eraTf2a(
char s,
int ihour,
int imin,
double sec,
double *rad)
43 *rad = ( s ==
'-' ? -1.0 : 1.0 ) *
44 ( 60.0 * ( 60.0 * ( (
double) abs(ihour) ) +
45 ( (
double) abs(imin) ) ) +
49 if ( ihour < 0 || ihour > 23 )
return 1;
50 if ( imin < 0 || imin > 59 )
return 2;
51 if ( sec < 0.0 || sec >= 60.0 )
return 3;
int eraTf2a(char s, int ihour, int imin, double sec, double *rad)