/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
H A D | XMPDateTimeImpl.java | 23 * The implementation of <code>XMPDateTime</code>. Internally a <code>calendar</code> is used 46 * The nano seconds take micro and nano seconds, while the milli seconds are in the calendar. 62 * Creates an <code>XMPDateTime</code>-instance from a calendar. 64 * @param calendar a <code>Calendar</code> 66 public XMPDateTimeImpl(Calendar calendar) argument 68 // extract the date and timezone from the calendar provided 69 Date date = calendar.getTime(); 70 TimeZone zone = calendar.getTimeZone(); 72 // put that date into a calendar the pretty much represents ISO8601 100 GregorianCalendar calendar [all...] |
/external/libmtp/examples/ |
H A D | evolution-sync.sh | 17 # that contains the calendar and contacts on your device. 20 # On my Zen Microphoto, the calendar and contacts files are called 61 # Next line merges all of your tasklist, your personal calendar, 62 # and then any saved to disk calendar you have placed in 66 $HOME/.evolution/calendar/local/system/calendar.ics \ 82 # The calendar and contacts files now need to be converted from unix
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
H A D | JmeFormatter.java | 49 private Date calendar = new Date(); field in class:JmeFormatter 64 calendar.setTime(record.getMillis()); 65 args[0] = calendar;
|
/external/icu4c/i18n/ |
H A D | coptccal.cpp | 136 CopticCalendar calendar(Locale("@calendar=coptic"), status); 138 calendar.setTime(Calendar::getNow(), status); 139 calendar.add(UCAL_YEAR, -80, status); 140 UDate newStart = calendar.getTime(status); 141 int32_t newYear = calendar.get(UCAL_YEAR, status);
|
H A D | buddhcal.cpp | 191 BuddhistCalendar calendar(Locale("@calendar=buddhist"),status); 194 calendar.setTime(Calendar::getNow(), status); 195 calendar.add(UCAL_YEAR, -80, status); 196 UDate newStart = calendar.getTime(status); 197 int32_t newYear = calendar.get(UCAL_YEAR, status);
|
H A D | ethpccal.cpp | 81 // Ethiopic calendar uses EXTENDED_YEAR aligned to 173 EthiopicCalendar calendar(Locale("@calendar=ethiopic"), status); 175 calendar.setTime(Calendar::getNow(), status); 176 calendar.add(UCAL_YEAR, -80, status); 177 UDate newStart = calendar.getTime(status); 178 int32_t newYear = calendar.get(UCAL_YEAR, status);
|
H A D | taiwncal.cpp | 12 * 05/12/2008 jce modified to use calendar=roc per CLDR 198 TaiwanCalendar calendar(Locale("@calendar=roc"),status); 201 calendar.setTime(Calendar::getNow(), status); 202 calendar.add(UCAL_YEAR, -80, status); 203 UDate newStart = calendar.getTime(status); 204 int32_t newYear = calendar.get(UCAL_YEAR, status);
|
H A D | indiancal.cpp | 109 * @param month The month(0-based) in Indian calendar 238 * @param month The month in Indian calendar 279 * calendar system. These are: 289 * calendar equivalents for the given Julian day. 423 IndianCalendar calendar(Locale("@calendar=Indian"),status); 425 calendar.setTime(Calendar::getNow(), status); 426 calendar.add(UCAL_YEAR, -80, status); 428 UDate newStart = calendar.getTime(status); 429 int32_t newYear = calendar [all...] |
H A D | persncal.cpp | 263 * Determine whether a year is a leap year in the Persian calendar 341 * calendar system. These are: 352 * calendar equivalents for the given Julian day. 441 PersianCalendar calendar(Locale("@calendar=persian"),status); 444 calendar.setTime(Calendar::getNow(), status); 445 calendar.add(UCAL_YEAR, -80, status); 446 UDate newStart = calendar.getTime(status); 447 int32_t newYear = calendar.get(UCAL_YEAR, status);
|
H A D | hebrwcal.cpp | 31 * of the start of the Hebrew calendar. In order to keep this calendar's 32 * time of day in sync with that of the Gregorian calendar, we use 185 * Add a signed amount to a specified field, using this calendar's rules. 283 * on a Hebrew calendar set to "25 Av 5758" will result in the date "5 Av 5758". 426 * @param day The # of days since the start of the Hebrew calendar, 538 * specific to each calendar system. These are: 550 * calendar equivalents for the given Julian day. 587 // the calendar implementation to check the extreme limit of 588 // each calendar fiel [all...] |
H A D | islamcal.cpp | 108 * Determines whether this object uses the fixed-cycle Islamic civil calendar 109 * or an approximation of the religious, astronomical calendar. 111 * @param beCivil <code>true</code> to use the civil calendar, 112 * <code>false</code> to use the astronomical calendar. 118 // The fields of the calendar will become invalid, because the calendar 129 * calendar, or <code>false</code> if using the religious, astronomical 130 * calendar. 144 // TODO: In some cases the current ICU Islamic calendar implementation shows 188 * Determine whether a year is a leap year in the Islamic civil calendar [all...] |
H A D | chnsecal.cpp | 57 * The start year of the Chinese calendar, the 61st year of the reign 213 * calendar system. These are: 224 * calendar equivalents for the given Julian day. 597 * Compute fields for the Chinese calendar system. This method can 722 * Adjust this calendar to be delta months before or after a given 744 // Pin the dom. In this calendar all months are 29 or 30 days 841 ChineseCalendar calendar(Locale("@calendar=chinese"),status); 844 calendar.setTime(Calendar::getNow(), status); 845 calendar [all...] |
/external/icu4c/test/intltest/ |
H A D | incaltst.h | 14 #include "unicode/calendar.h" 40 // Test a Gregorian-Like calendar 46 static UnicodeString value(Calendar* calendar);
|
H A D | calregts.cpp | 297 Calendar *calendar = new GregorianCalendar(pdt, status); local 302 calendar->set(UCAL_MONTH,3); 303 calendar->set(UCAL_DATE,18); 304 calendar->set(UCAL_SECOND, 30); 306 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status)); 308 calendar->get(UCAL_DATE, status)); 309 logln(UnicodeString("MINUTE: ") + calendar->get(UCAL_MINUTE, status)); 310 logln(UnicodeString("SECOND: ") + calendar->get(UCAL_SECOND, status)); 312 calendar->add(UCAL_SECOND,6, status); 316 logln(UnicodeString("MONTH: ") + calendar 1494 GregorianCalendar *calendar = new GregorianCalendar(status); local 1528 GregorianCalendar *calendar = new GregorianCalendar(status); local 1567 GregorianCalendar *calendar = new GregorianCalendar(status); local 1598 GregorianCalendar *calendar = new GregorianCalendar(status); local 1652 GregorianCalendar *calendar = new GregorianCalendar(zones[i], status); local 1756 GregorianCalendar *calendar = new GregorianCalendar(1996, UCAL_FEBRUARY, 29, status); local 1811 GregorianCalendar *calendar = new GregorianCalendar(Locale::getUS(), status); local 1878 GregorianCalendar *calendar = calendars[j]; local [all...] |
H A D | caltest.cpp | 517 cal = Calendar::createInstance(Locale("he_IL@calendar=hebrew"), status); 1196 Calendar *calendar = new GregorianCalendar(status); local 1198 calendar->set(1993, UCAL_JANUARY, 4); 1199 logln("1A) " + value(calendar)); 1200 calendar->add(UCAL_DATE, 1, status); 1202 UnicodeString v = value(calendar); 1206 delete calendar; 1209 Calendar *calendar = new GregorianCalendar(1993, UCAL_JANUARY, 4, status); local 1211 logln("2A) " + value(calendar)); 1212 calendar 1221 Calendar *calendar = new GregorianCalendar(1993, UCAL_JANUARY, 4, status); local 1239 value(Calendar* calendar) argument 1261 GregorianCalendar *calendar = 0; local [all...] |
H A D | caltest.h | 13 #include "unicode/calendar.h" 132 static UnicodeString value(Calendar* calendar); 200 * Clone the specified calendar, and determine its earliest supported date 203 * @param isGregorian output: returns 'TRUE' if the calendar's class is GregorianCalendar 209 * Construct a calendar of the specified locale, and determine its earliest supported date 211 * @param locale locale of calendar to check 212 * @param isGregorian output: returns 'TRUE' if the calendar's class is GregorianCalendar 228 * Test the ISO8601 calendar type
|
/external/icu4c/test/testdata/ |
H A D | tstfiles.mk | 9 TEST_RES_SOURCE=DataDrivenCollationTest.txt calendar.txt format.txt
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
H A D | DateUtils.java | 81 Calendar calendar = Calendar.getInstance(); 82 calendar.setTimeZone(GMT); 83 calendar.set(2000, Calendar.JANUARY, 1, 0, 0, 0); 84 calendar.set(Calendar.MILLISECOND, 0); 85 DEFAULT_TWO_DIGIT_YEAR_START = calendar.getTime();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
H A D | CalendarTest.java | 570 Calendar calendar = Calendar.getInstance(); 590 calendar.set(2008, 3, 20, 17, 28, 12); 595 calendar.clear(index); 599 calendar.get(index)); 603 calendar.get(index)); 607 + defaults[i] + ".", defaults[i], calendar.get(index)); 612 calendar.set(2008, 3, 20, 17, 28, 12); 614 calendar.clear(); 619 + defaults[i] + ".", defaults[i], calendar.get(index)); 627 Calendar calendar [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | HeaderParser.java | 47 * @return an integer with the calendar content for wkday. 131 protected void time(Calendar calendar) throws ParseException { argument 135 calendar.set(Calendar.HOUR_OF_DAY, hour); 139 calendar.set(Calendar.MINUTE, min); 143 calendar.set(Calendar.SECOND, sec);
|
/external/icu4c/samples/ |
H A D | readme.txt | 9 cal - prints out a calendar.
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
H A D | XMPDateTimeFactory.java | 43 * @param calendar a <code>Calendar</code>-object. 46 public static XMPDateTime createFromCalendar(Calendar calendar) argument 48 return new XMPDateTimeImpl(calendar);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/ |
H A D | X509CertificateTest.java | 194 Calendar calendar = Calendar.getInstance(); 196 calendar.set(i*50, Calendar.JANUARY, 1); 197 date[i] = calendar.getTime();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
H A D | Utils.java | 252 Calendar calendar = Calendar.getInstance(); 269 calendar.set(year, month, date, hours, min); 270 return calendar.getTimeInMillis(); 280 calendar.set(year, month, date, hours, min); 282 return calendar.getTimeInMillis();
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/ |
H A D | Tool.java | 1037 GregorianCalendar calendar = new java.util.GregorianCalendar(); 1038 int y = calendar.get(Calendar.YEAR); 1039 int m = calendar.get(Calendar.MONTH) + 1; // zero-based for months 1040 int d = calendar.get(Calendar.DAY_OF_MONTH); 1041 int h = calendar.get(Calendar.HOUR_OF_DAY); 1042 int min = calendar.get(Calendar.MINUTE); 1043 int sec = calendar.get(Calendar.SECOND);
|