Java 8 introduced [ChronoUnit](http://docs.oracle.com/javase/8/docs/api/java/time/temporal/ChronoUnit.html) which is largely equivalent to [TimeUnit](http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html) introduced in Java 5.

Is there an existing function for converting a TimeUnit to ChronoUnit? (Yes, I know how to write my own)