Datepicker: Support for selecting ranges within a single picker

We're using this approach at @firmafon, and think it works quite well.

What do you think?
Is it suitable for jquery-ui?

Thank you. :)