functions for using historical earnings release dates into charting calculations