Java exotic dates implemented