be9e5faa96a0773d42929c54f58ded53f40b7e88 braney Mon Dec 12 15:59:17 2016 -0800 some changes that make it easier for trash cleaner to squirrel away custom tracks holding BLAT results diff --git src/inc/common.h src/inc/common.h index 88c5e22..508ccc3 100644 --- src/inc/common.h +++ src/inc/common.h @@ -1498,19 +1498,22 @@ time_t dateToSeconds(const char *date,const char*format); // Convert a string date to time_t boolean dateIsOld(const char *date,const char*format); // Is this string date older than now? boolean dateIsOlderBy(const char *date,const char*format, time_t seconds); // Is this string date older than now by this many seconds? char *dateAddTo(char *date,char *format,int addYears,int addMonths,int addDays); /* Add years,months,days to a formatted date and returns the new date as a cloned string * format is a strptime/strftime format: %F = yyyy-mm-dd */ +unsigned dayOfYear(); +/* Return the day of the year. */ + boolean haplotype(const char *name); /* Is this name a haplotype name ? _hap or _alt in the name */ #endif /* COMMON_H */