ICU-5454 Add a note about MIME encoding in VTimeZone. Also correct the condition for invoking exhaustive test cases.
X-SVN-Rev: 21844
This commit is contained in:
parent
23d9400cc4
commit
957ecb06dd
@ -744,7 +744,7 @@ public class TimeZoneRuleTest extends TestFmwk {
|
||||
};
|
||||
|
||||
private String[] getTestZIDs() {
|
||||
if (isVerbose()) {
|
||||
if (getInclusion() > 5) {
|
||||
return TimeZone.getAvailableIDs();
|
||||
}
|
||||
return TESTZIDS;
|
||||
@ -761,7 +761,7 @@ public class TimeZoneRuleTest extends TestFmwk {
|
||||
if (idx < TESTYEARS.length) {
|
||||
loyear = TESTYEARS[idx][0];
|
||||
hiyear = TESTYEARS[idx][1];
|
||||
} else if (idx == TESTYEARS.length && isVerbose()) {
|
||||
} else if (idx == TESTYEARS.length && getInclusion() > 5) {
|
||||
loyear = 1850;
|
||||
hiyear = 2050;
|
||||
} else {
|
||||
|
@ -24,7 +24,11 @@ import com.ibm.icu.impl.Grego;
|
||||
* With the <code>VTimeZone</code> instance created from the ID, you can write out the rule
|
||||
* in RFC2445 VTIMEZONE format. Also, you can create a <code>VTimeZone</code> instance
|
||||
* from RFC2445 VTIMEZONE data stream, which allows you to calculate time
|
||||
* zone offset by the rules defined by the data.
|
||||
* zone offset by the rules defined by the data.<br><br>
|
||||
*
|
||||
* Note: The consumer of this class reading or writing VTIMEZONE data is responsible to
|
||||
* decode or encode Non-ASCII text. Methods reading/writing VTIMEZONE data in this class
|
||||
* do nothing with MIME encoding.
|
||||
*
|
||||
* @draft ICU 3.8
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
@ -53,7 +57,7 @@ public class VTimeZone extends BasicTimeZone {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>VTimeZone</code> instance by RFC2445 VTIMEZONE data
|
||||
* Create a <code>VTimeZone</code> instance by RFC2445 VTIMEZONE data.
|
||||
*
|
||||
* @param reader The Reader for VTIMEZONE data input stream
|
||||
* @return A <code>VTimeZone</code> initialized by the VTIMEZONE data or
|
||||
|
Loading…
Reference in New Issue
Block a user