Implement Java8 times extension