Effectivement ;)

—
Sent from Mailbox for iPhone

On Sun, May 25, 2014 at 9:32 AM, Paul Chaignon <notifications@github.com>
wrote:

>>  				rowData = rowOfData.at(x).split(",");
>>  				//Check dates and values are correct
>>  				if(date_regex.exactMatch(rowData[0]) && value_regex.exactMatch(rowData[data_index])) {
>>  					QDate currentDate = QDate::fromString(rowData[0], "yyyy-MM-dd");
>> -					//checks the order of dates
>> -					if(previousDate > currentDate) {
>> -						previousDate = currentDate;
>> -						//checks if we are on still in the range of dates
>> -						if ((endDate >= currentDate)) {
>> -							if(startDate > currentDate) {
>> -								break;
>> +					//Every week-end day will be avoided
>> +					if ((currentDate.dayOfWeek() != 6) && (currentDate.dayOfWeek() != 7)){
> `currentDate.dayOfWeek() > 5`
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/pchaigno/ProjetVaR/pull/46/files#r13029638