/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
H A D | DerGeneralizedTimeEDTest.java | 54 Date myDate = getGmtDate(1101980374187L); 56 new DerOutputStream(gTime, myDate).encoded; 61 myDate = getGmtDate(1101980374180L); 63 new DerOutputStream(gTime, myDate).encoded; 68 myDate = getGmtDate(1101980374100L); 70 new DerOutputStream(gTime, myDate).encoded; 75 myDate = getGmtDate(1101980374000L); 77 new DerOutputStream(gTime, myDate).encoded; 85 myDate = sdf.parse("06.06.2004 00:00"); 87 new DerOutputStream(gTime, myDate) [all...] |
H A D | DerUTCTimeEDTest.java | 57 Date myDate = getGmtDate(1101980374187L); 59 new DerOutputStream(uTime, myDate).encoded; 67 myDate = sdf.parse("06.06.2004 00:00"); 69 new DerOutputStream(uTime, myDate).encoded; 102 Date myDate = new Date(1101980374187L); 104 new DerOutputStream(uTime, myDate).encoded; 109 assertEquals(187, (myDate.getTime() - ((Date) uTime.decode(dis)).getTime())); 112 myDate = new SimpleDateFormat("MM.dd.yyyy HH:mm"). 115 new DerOutputStream(uTime, myDate).encoded; 119 assertEquals(myDate, uTim [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | cdtrgtst.c | 205 UChar *myDate; local 220 myDate=(UChar*)malloc(sizeof(UChar) * 11); 221 u_uastrcpy(myDate, "1970/01/12"); 223 aux917( def, myDate ); 233 u_uastrcpy(myDate, "19700112"); 234 aux917( def, myDate ); 236 free(myDate); 278 UDate myDate; local 290 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status); 300 myString = myFormatit(fmt, myDate); 326 UDate myDate; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | cdtrgtst.c | 205 UChar *myDate; local 220 myDate=(UChar*)malloc(sizeof(UChar) * 11); 221 u_uastrcpy(myDate, "1970/01/12"); 223 aux917( def, myDate ); 233 u_uastrcpy(myDate, "19700112"); 234 aux917( def, myDate ); 236 free(myDate); 278 UDate myDate; local 290 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status); 300 myString = myFormatit(fmt, myDate); 326 UDate myDate; local [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | dtfmrgts.cpp | 285 UnicodeString myDate; local 289 myDate = "1997/01/01"; 290 aux917( fmt, myDate ); 297 myDate = "19970101"; 298 aux917( fmt, myDate ); 346 UDate myDate = formatter->parse( dateString, pos ); local 356 myString = fmt->format( myDate, myString); 361 cal->setTime(myDate, status); 375 myDate = formatter->parse( dateString, pos ); 376 myString = fmt->format( myDate, myStrin [all...] |
H A D | dtfmttst.cpp | 724 UnicodeString myDate; local 731 myDate = "1997/02/03"; 732 testIt917(fmt, myDate, date(97, 2 - 1, 3)); 735 myDate = "19970304"; 736 testIt917(fmt, myDate, date(97, 3 - 1, 4)); 832 UDate myDate = formatter->parse(dateString, pos); local 833 logln((UnicodeString)"Using " + bigD + " -> " + myDate); 834 if (myDate != expBigD) errln((UnicodeString)"FAIL: bigD - Expected " + dateToString(expBigD)); 839 myDate = formatter->parse(dateString, pos); 840 logln((UnicodeString)"Using " + littleD + " -> " + dateToString(myDate)); [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | dtfmrgts.cpp | 288 UnicodeString myDate; local 292 myDate = "1997/01/01"; 293 aux917( fmt, myDate ); 300 myDate = "19970101"; 301 aux917( fmt, myDate ); 349 UDate myDate = formatter->parse( dateString, pos ); local 359 myString = fmt->format( myDate, myString); 364 cal->setTime(myDate, status); 378 myDate = formatter->parse( dateString, pos ); 379 myString = fmt->format( myDate, myStrin [all...] |
H A D | dtfmttst.cpp | 727 UnicodeString myDate; local 734 myDate = "1997/02/03"; 735 testIt917(fmt, myDate, date(97, 2 - 1, 3)); 738 myDate = "19970304"; 739 testIt917(fmt, myDate, date(97, 3 - 1, 4)); 835 UDate myDate = formatter->parse(dateString, pos); local 836 logln((UnicodeString)"Using " + bigD + " -> " + myDate); 837 if (myDate != expBigD) errln((UnicodeString)"FAIL: bigD - Expected " + dateToString(expBigD)); 842 myDate = formatter->parse(dateString, pos); 843 logln((UnicodeString)"Using " + littleD + " -> " + dateToString(myDate)); [all...] |