The toPlainDate() method returns a PlainDate object representing the date part of this PlainDateTime.