1 16 package org.joda.time; 17 18 import org.joda.time.chrono.BaseChronology; 19 import org.joda.time.chrono.ISOChronology; 20 21 26 class MockNullZoneChronology extends BaseChronology { 27 28 public DateTimeZone getZone() { 29 return null; 30 } 31 public Chronology withUTC() { 32 return this; 33 } 34 public Chronology withZone(DateTimeZone zone) { 35 return this; 36 } 37 public DateTimeField dayOfMonth() { return ISOChronology.getInstance().dayOfMonth(); 39 } 40 public String toString() { 41 return ""; 42 } 43 44 } 45 | Popular Tags |