Hi, in my assignment I need to output a boarding pass in a format:
FROM DATE TIME
<flight1.departureAirport> <departDate.printDate()> <departTime.printTime()>
TO
<flight1.arrivalAirport> <arrivalDate.printDate()> <arrivalTime.printTime()>
TOTAL TIME: <flight1.arrivalTime - flight1.departureTime>
departure and arrival airport are strings and and i have no problem with outputting it where I want it. But dates and times come form methods like this: