support for new java 8 time types