ICU-10113 update ICU4J sample code to include the "import...." statement.
X-SVN-Rev: 33804
This commit is contained in:
parent
78106e6434
commit
97817ac0ae
@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2013, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
@ -7,7 +7,7 @@
|
||||
package com.ibm.icu.samples.text.dateintervalformat;
|
||||
|
||||
|
||||
|
||||
// ---dtitvfmtPreDefinedExample
|
||||
import java.util.Date;
|
||||
|
||||
import com.ibm.icu.text.DateFormat;
|
||||
@ -17,7 +17,7 @@ import com.ibm.icu.util.Calendar;
|
||||
import com.ibm.icu.util.DateInterval;
|
||||
import com.ibm.icu.util.GregorianCalendar;
|
||||
import com.ibm.icu.util.ULocale;
|
||||
|
||||
// ---dtitvfmtPreDefinedExample
|
||||
public class DateIntervalFormatSample{
|
||||
|
||||
public static void main (String[] args){
|
||||
|
@ -1,11 +1,11 @@
|
||||
/*
|
||||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2013, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
package com.ibm.icu.samples.text.datetimepatterngenerator;
|
||||
|
||||
// ---getBestPatternExample
|
||||
import java.util.Date;
|
||||
|
||||
import com.ibm.icu.text.DateFormat;
|
||||
@ -14,7 +14,7 @@ import com.ibm.icu.text.SimpleDateFormat;
|
||||
import com.ibm.icu.util.GregorianCalendar;
|
||||
import com.ibm.icu.util.TimeZone;
|
||||
import com.ibm.icu.util.ULocale;
|
||||
|
||||
// ---getBestPatternExample
|
||||
/**
|
||||
* com.ibm.icu.text.DateTimePatternGenerator Sample Code
|
||||
*/
|
||||
@ -26,7 +26,6 @@ public class DateTimePatternGeneratorSample {
|
||||
replaceFieldTypesExample();
|
||||
}
|
||||
|
||||
|
||||
public static void getBestPatternExample() {
|
||||
System.out.println("========================================================================");
|
||||
System.out.println(" getBestPatternExample()");
|
||||
|
@ -5,11 +5,12 @@
|
||||
*******************************************************************************
|
||||
*/
|
||||
package com.ibm.icu.samples.text.pluralformat;
|
||||
|
||||
// ---PluralFormatExample
|
||||
import java.text.FieldPosition;
|
||||
import com.ibm.icu.text.MessageFormat;
|
||||
import com.ibm.icu.text.PluralFormat;
|
||||
import com.ibm.icu.util.ULocale;
|
||||
// ---PluralFormatExample
|
||||
|
||||
public class PluralFormatSample {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user