NSDateFormatterで日付や時間の表示を設定する

NSDateFormatterで日付や時間の表示を設定する方法を紹介します。和暦の表示もできます。Swift2.1を使用します。