added java wrapper for schedulling convertion