1 16 package org.joda.time.format; 17 18 import java.io.IOException ; 19 import java.io.Writer ; 20 import java.util.Locale ; 21 22 import org.joda.time.Chronology; 23 import org.joda.time.DateTimeZone; 24 import org.joda.time.ReadablePartial; 25 26 44 public interface DateTimePrinter { 45 46 52 int estimatePrintedLength(); 53 54 67 void printTo(StringBuffer buf, long instant, Chronology chrono, 68 int displayOffset, DateTimeZone displayZone, Locale locale); 69 70 82 void printTo(Writer out, long instant, Chronology chrono, 83 int displayOffset, DateTimeZone displayZone, Locale locale) throws IOException ; 84 85 93 void printTo(StringBuffer buf, ReadablePartial partial, Locale locale); 94 95 102 void printTo(Writer out, ReadablePartial partial, Locale locale) throws IOException ; 103 104 } 105 | Popular Tags |