code: private void checkJodaSetGetHour() {
          int COUNT = COUNT_VERY_FAST;
          // Is it fair to use only MutableDateTime here? You decide.
          MutableDateTime dt = new MutableDateTime(GJChronology.getInstance());
          for (int i = 0; i < AVERAGE; i++) {
              start("Joda", "setGetHour");
              for (int j = 0; j < COUNT; j++) {
                  dt.setHourOfDay(13);
                  int val = dt.getHourOfDay();
                  if (dt == null) {System.out.println("Anti optimise");}
              }
              end(COUNT);
          }
      }
docs: ------------------------------------------------------------------------