Preheat oven to 350 degrees and spray doughnut pan with cooking spray. I used 1 large doughnut and 1 mini-doughnut baking pan.Whisk the flour, baking powder, salt, cinnamon and nutmeg together in a medium bowlIn another medium bow, mash the bananas and then whisk them with the sugar, eggs, vanilla extract and oilCreate a well in the middle of the dry ingredients and pour the wet ingredients into itMix until just combinedPour dough into pansCook for about 10 minutes, pull out of the oven and turn each doughnut over in the pan and cook for an additional 10 minutes or until slightly brownedTake out of the oven, cool for 5 minutes in the pan on a rack, remove, sprinkle on sifted confectioner's sugar and serve warm