I want to check a correctness of time when I have hours and minutes in my LinkedList. I am adding new elements to LinkedList like below. In System.out.println(mylist); It should be 3:30. A verification can be before adding to the LinkedList as well.
LinkedList<Trs> mylist = new LinkedList<Trs>(); mylist.add(new Trs(2,90));