I rummaged through the heaps of documentation and realized that it’s best to use Calendar to work with the date. But the following question arose: is it possible in JAVA to set the desired date directly without unnecessary conversions, something like myDate.set("28.12.2016"); well, or a comma?
Tell me which way to dig or throw examples (just for setting the date and extracting it).
PS I am writing a console application, the date is entered manually by the user.