Implement time/interval-bounds function

  • point/interval
  • min/max

(from redmine: issue id 760, created on 2018-01-22tgradl)