Displaying 1 result from an estimated 1 matches for "ad_window_end".
2009 Apr 07
4
/lib daemon folder: how do i add a module into the daemon?
...ime
@absmid = @current_time.beginning_of_month + 14.days
@midperiod = @absmid - 2.days
if @current_time >= @absmid
@begin_bid_time = @absmid
@end_bid_time = @current_time.next_month.beginning_of_month -
2.days
@ad_window_begin = @current_time.next_month.beginning_of_month
@ad_window_end = @current_time.next_month.beginning_of_month +
15.days
else
@begin_bid_time = @current_time.beginning_of_month
@end_bid_time = @midperiod
@ad_window_begin = @absmid
@ad_window_end = @current_time.next_month.beginning_of_month
end
end
end
--~--~---------~--~----~------------...