ARB
|
Go to the source code of this file.
Classes | |
class | SetOnce |
Macros | |
#define | SIZE 128 |
Functions | |
bool | two_char (const char *str, char determ) |
int | ismonth (const char *str) |
static __ATTR__USERESULT bool | find_date (const char *date_string, int *month, int *day, int *year) |
static int | isdatenum (char *Str) |
static __ATTR__USERESULT bool | find_date_long_form (const char *date_string, int *monthPtr, int *dayPtr, int *yearPtr) |
bool | is_genbank_date (const char *str) |
const char * | genbank_date (const char *other_date) |
const char * | today_date () |
const char * | gcg_date (const char *input) |
Variables | |
static const char * | ERROR_DATE = "\?\?-\?\?\?-\?\?\?\?" |
static const char * | MON [12] |
static const char * | Month [12] |
static unsigned char | days_in_month [12+1] |
#define SIZE 128 |
Definition at line 7 of file date.cxx.
Referenced by find_date_long_form(), gcg_date(), genbank_date(), PTD_put_int(), PTD_put_short(), and today_date().
Definition at line 31 of file date.cxx.
Referenced by find_date().
Definition at line 38 of file date.cxx.
References str_iequal().
Referenced by find_date(), find_date_long_form(), and gcg_date().
|
static |
Definition at line 49 of file date.cxx.
References ismonth(), str0len(), and two_char().
Referenced by genbank_date().
Definition at line 86 of file date.cxx.
References length, and str0len().
Referenced by find_date_long_form().
|
static |
Definition at line 118 of file date.cxx.
References days_in_month, isdatenum(), ismonth(), length, SetOnce::replace(), SetOnce::set(), SIZE, str0len(), and SetOnce::value().
Referenced by genbank_date().
|
inline |
Definition at line 164 of file date.cxx.
References ca_assert, days_in_month, find_date(), find_date_long_form(), genbank_date(), is_genbank_date(), length, result, SIZE, str0len(), and warningf().
Referenced by etog(), genbank_date(), FINAL_TYPE< SEQTYPE >::get_date(), and mtog().
const char* today_date | ( | void | ) |
Definition at line 214 of file date.cxx.
Referenced by etog(), gcg_seq_out(), FINAL_TYPE< SEQTYPE >::get_date(), macke_out_header(), mtog(), and paup_print_headerstart().
Definition at line 232 of file date.cxx.
References ca_assert, IF_ASSERTION_USED, ismonth(), and SIZE.
Referenced by gcg_seq_out().
|
static |
|
static |
|
static |
Definition at line 25 of file date.cxx.
Referenced by find_date_long_form(), and genbank_date().