OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:startsInDST
(Results
1 - 8
of
8
) sorted by null
/external/icu/icu4c/source/test/intltest/
tzbdtest.h
41
virtual void findDaylightBoundaryUsingTimeZone(UDate d, UBool
startsInDST
, UDate expectedBoundary);
42
virtual void findDaylightBoundaryUsingTimeZone(UDate d, UBool
startsInDST
, UDate expectedBoundary, TimeZone* tz);
tzbdtest.cpp
106
TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool
startsInDST
, UDate expectedBoundary)
109
findDaylightBoundaryUsingTimeZone(d,
startsInDST
, expectedBoundary, zone);
116
TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool
startsInDST
, UDate expectedBoundary, TimeZone* tz)
122
if (tz->inDaylightTime(d, status) !=
startsInDST
) {
123
dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(d) + ") != " + (
startsInDST
? "true" : "false"));
124
startsInDST
= !
startsInDST
;
127
if (tz->inDaylightTime(max, status) ==
startsInDST
) {
128
dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(max) + ") != " + (
startsInDST
? "false" : "true"));
136
if (isIn ==
startsInDST
) {
[
all
...]
tzregts.cpp
89
UBool
startsInDST
= tz.inDaylightTime(min, status);
91
if (tz.inDaylightTime(max, status) ==
startsInDST
) {
92
logln((UnicodeString)"Error: inDaylightTime() != " + ((!
startsInDST
)?"TRUE":"FALSE"));
98
if (tz.inDaylightTime(mid, status) ==
startsInDST
) {
110
UBool
startsInDST
= tz.inDaylightTime(min, status);
113
if (tz.inDaylightTime(min, status) !=
startsInDST
) {
[
all
...]
tztest.cpp
239
UBool
startsInDST
= tz.inDaylightTime(min, ec);
241
if (tz.inDaylightTime(max, ec) ==
startsInDST
) {
242
logln("Error: " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (
startsInDST
?"TRUE":"FALSE") +
243
", inDaylightTime(" + dateToString(max) + ") = " + (
startsInDST
?"TRUE":"FALSE"));
249
if (tz.inDaylightTime(mid, ec) ==
startsInDST
) {
270
UBool
startsInDST
= tz.inDaylightTime(min, status);
272
if (tz.inDaylightTime(max, status) ==
startsInDST
) {
273
logln("Error: inDaylightTime(" + dateToString(max) + ") != " + ((!
startsInDST
)?"TRUE":"FALSE"));
279
if (tz.inDaylightTime(mid, status) ==
startsInDST
) {
[
all
...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
TimeZoneBoundaryTest.java
104
// static void findDaylightBoundaryUsingCalendar(Date d, boolean
startsInDST
)
111
// if (cal.inDaylightTime() !=
startsInDST
)
113
// logln("Error: inDaylightTime(" + d + ") != " +
startsInDST
);
125
// if (cal.inDaylightTime() ==
startsInDST
)
139
void findDaylightBoundaryUsingTimeZone(Date d, boolean
startsInDST
, long expectedBoundary)
141
findDaylightBoundaryUsingTimeZone(d,
startsInDST
, expectedBoundary,
145
void findDaylightBoundaryUsingTimeZone(Date d, boolean
startsInDST
,
156
if (tz.inDaylightTime(d) !=
startsInDST
)
159
d + ") != " +
startsInDST
);
160
startsInDST
= !startsInDST; // Flip over; find the apparent valu
[
all
...]
TimeZoneTest.java
647
boolean
startsInDST
= tz.inDaylightTime(new Date(min));
649
if (tz.inDaylightTime(new Date(max)) ==
startsInDST
) {
650
logln("Error: inDaylightTime(" + new Date(max) + ") != " + (!
startsInDST
));
656
if (tz.inDaylightTime(new Date(mid)) ==
startsInDST
) {
[
all
...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
TimeZoneBoundaryTest.java
100
// static void findDaylightBoundaryUsingCalendar(Date d, boolean
startsInDST
)
107
// if (cal.inDaylightTime() !=
startsInDST
)
109
// logln("Error: inDaylightTime(" + d + ") != " +
startsInDST
);
121
// if (cal.inDaylightTime() ==
startsInDST
)
135
void findDaylightBoundaryUsingTimeZone(Date d, boolean
startsInDST
, long expectedBoundary)
137
findDaylightBoundaryUsingTimeZone(d,
startsInDST
, expectedBoundary,
141
void findDaylightBoundaryUsingTimeZone(Date d, boolean
startsInDST
,
152
if (tz.inDaylightTime(d) !=
startsInDST
)
155
d + ") != " +
startsInDST
);
156
startsInDST
= !startsInDST; // Flip over; find the apparent valu
[
all
...]
TimeZoneTest.java
643
boolean
startsInDST
= tz.inDaylightTime(new Date(min));
645
if (tz.inDaylightTime(new Date(max)) ==
startsInDST
) {
646
logln("Error: inDaylightTime(" + new Date(max) + ") != " + (!
startsInDST
));
652
if (tz.inDaylightTime(new Date(mid)) ==
startsInDST
) {
[
all
...]
Completed in 107 milliseconds