made it possible to create data players by passing a java Date object