in reply to Re: Date Array Convolution
in thread Date Array Convolution
What I really need help with is the piece that covers those two difficulties I mentioned in the original post. Something like:@combined = sort {$a->[0] <=> $b->[0]} (@listone,@listtwo);
@combined = sort {$a->[0] <=> $b->[0]} (@listone,@listtwo); foreach (@combined) { #check for overlapping times and make sure the smallest V time is + listed during the overlap #XXXXXXX #break the timespans apart if it covers the crossing of a new day #XXXXXXX }
|
|---|