Searched refs:GregorianCalendar (Results 1 - 25 of 38) sorted by relevance

12

/macosx-10.10.1/ICU-531.30/icuSources/i18n/unicode/
H A Dgregocal.h72 * <p>Example for using GregorianCalendar:
93 * // create a GregorianCalendar with the Pacific Daylight time zone
95 * Calendar* calendar = new GregorianCalendar( pdt, success );
149 class U_I18N_API GregorianCalendar: public Calendar { class in inherits:Calendar
153 * Useful constants for GregorianCalendar and TimeZone.
162 * Constructs a default GregorianCalendar using the current time in the default time
165 * @param success Indicates the status of GregorianCalendar object construction.
169 GregorianCalendar(UErrorCode& success);
172 * Constructs a GregorianCalendar based on the current time in the given time zone
177 * @param success Indicates the status of GregorianCalendar objec
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/i18n/
H A Dbuddhcal.cpp34 : GregorianCalendar(aLocale, success)
44 : GregorianCalendar(source)
50 GregorianCalendar::operator=(right);
83 return GregorianCalendar::handleComputeMonthStart(eyear, month, useMonth);
88 GregorianCalendar::handleComputeFields(julianDay, status);
99 return GregorianCalendar::handleGetLimit(field,limitType);
111 if(era == GregorianCalendar::BC) {
114 } else if(era == GregorianCalendar::AD) {
H A Dgregocal.cpp51 // class GregorianCalendar
138 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(GregorianCalendar)
145 //const UDate GregorianCalendar::kPapalCutover = -12219292800000L;
152 GregorianCalendar::GregorianCalendar(UErrorCode& status) function in class:GregorianCalendar
163 GregorianCalendar::GregorianCalendar(TimeZone* zone, UErrorCode& status) function in class:GregorianCalendar
174 GregorianCalendar::GregorianCalendar(const TimeZone& zone, UErrorCode& status) function in class:GregorianCalendar
185 GregorianCalendar function in class:GregorianCalendar
196 GregorianCalendar::GregorianCalendar(TimeZone* zone, const Locale& aLocale, function in class:GregorianCalendar
208 GregorianCalendar::GregorianCalendar(const TimeZone& zone, const Locale& aLocale, function in class:GregorianCalendar
220 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, function in class:GregorianCalendar
235 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, function in class:GregorianCalendar
252 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, function in class:GregorianCalendar
277 GregorianCalendar::GregorianCalendar(const GregorianCalendar &source) function in class:GregorianCalendar
[all...]
H A Dtaiwncal.cpp34 : GregorianCalendar(aLocale, success)
44 : GregorianCalendar(source)
50 GregorianCalendar::operator=(right);
86 GregorianCalendar::handleComputeFields(julianDay, status);
106 return GregorianCalendar::handleGetLimit(field,limitType);
118 if(era == GregorianCalendar::BC) {
121 } else if(era == GregorianCalendar::AD) {
H A Djapancal.cpp294 : GregorianCalendar(aLocale, success)
304 : GregorianCalendar(source)
310 GregorianCalendar::operator=(right);
381 GregorianCalendar::handleComputeFields(julianDay, status);
494 return GregorianCalendar::handleGetLimit(UCAL_YEAR, UCAL_LIMIT_MAXIMUM) - kEraInfo[kCurrentEra].year;
500 return GregorianCalendar::handleGetLimit(field,limitType);
526 return GregorianCalendar::getActualMaximum(field, status);
H A Dbuddhcal.h31 * <code>BuddhistCalendar</code> is a subclass of <code>GregorianCalendar</code>
47 class BuddhistCalendar : public GregorianCalendar {
H A Dtaiwncal.h32 * <code>TaiwanCalendar</code> is a subclass of <code>GregorianCalendar</code>
43 class TaiwanCalendar : public GregorianCalendar {
H A Djapancal.h31 * <code>JapaneseCalendar</code> is a subclass of <code>GregorianCalendar</code>
56 class JapaneseCalendar : public GregorianCalendar {
H A Dsimpletz.cpp446 if ((era != GregorianCalendar::AD && era != GregorianCalendar::BC)
466 if(!useDaylight || year < startYear || era != GregorianCalendar::AD)
522 savingsDST = getOffset(GregorianCalendar::AD, year, month, dom,
550 savingsDST = getOffset(GregorianCalendar::AD, year, month, dom,
720 // This method is wasteful since it creates a new GregorianCalendar and
724 GregorianCalendar *gc = new GregorianCalendar(*this, status);
855 * really specific to GregorianCalendar, which does not use that month.
H A Ducal.cpp273 GregorianCalendar *gregocal = dynamic_cast<GregorianCalendar *>(cpp_cal);
275 // because we really want to work only with a GregorianCalendar, not with
283 if(typeid(*cpp_cal) != typeid(GregorianCalendar)) {
296 const GregorianCalendar *gregocal = dynamic_cast<const GregorianCalendar *>(cpp_cal);
305 if(typeid(*cpp_cal) != typeid(GregorianCalendar)) {
H A Dolsontz.cpp355 if ((era != GregorianCalendar::AD && era != GregorianCalendar::BC)
370 if (era == GregorianCalendar::BC) {
/macosx-10.10.1/ICU-531.30/icuSources/samples/datecal/
H A Dcal.cpp20 GregorianCalendar* gc = new GregorianCalendar(status);
22 puts("Couldn't create GregorianCalendar");
/macosx-10.10.1/ICU-531.30/icuSources/test/intltest/
H A Dtzregts.h49 UBool checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ);
H A Dcalregts.cpp135 GregorianCalendar *cal = (GregorianCalendar*)Calendar::createInstance(status);
158 GregorianCalendar *cal = new GregorianCalendar(status);
164 failure(status, "new GregorianCalendar");
181 GregorianCalendar *cal1 = new GregorianCalendar(status) ;
187 failure(status, "new GregorianCalendar");
188 GregorianCalendar *cal2 = (GregorianCalendar*) cal
[all...]
H A Dcalregts.h79 void printdate(GregorianCalendar *cal, const char *string);
H A Dastrotst.cpp149 GregorianCalendar *cal = new GregorianCalendar(1958, UCAL_AUGUST, 15,status);
268 GregorianCalendar *cal = new GregorianCalendar(tz->clone(), Locale::getUS(), status);
269 GregorianCalendar *cal2 = new GregorianCalendar(tz->clone(), Locale::getUS(), status);
380 GregorianCalendar *cal3 = new GregorianCalendar(TimeZone::getGMT()->clone(), Locale::getUS(), status);
H A Dcaltest.cpp540 GregorianCalendar *gc = new GregorianCalendar(*zone, status);
541 if (failure(status, "new GregorianCalendar")) return;
544 gc = new GregorianCalendar(Locale::getEnglish(), status);
545 if (failure(status, "new GregorianCalendar")) return;
548 gc = new GregorianCalendar(Locale::getEnglish(), status);
551 gc = new GregorianCalendar(*zone, Locale::getEnglish(), status);
552 if (failure(status, "new GregorianCalendar")) return;
555 gc = new GregorianCalendar(zone, status);
556 if (failure(status, "new GregorianCalendar")) retur
[all...]
H A Dtzregts.cpp140 GregorianCalendar cal(1997, UCAL_JANUARY, 31, status);
145 failure(status, "new GregorianCalendar");
311 GregorianCalendar *testCal = (GregorianCalendar*)Calendar::createInstance(status);
350 TimeZoneRegressionTest::checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ)
353 // GregorianCalendar testCal = (GregorianCalendar)aCal.clone();
770 const int32_t GOOD_ERA = GregorianCalendar::AD, GOOD_YEAR = 1998, GOOD_MONTH = UCAL_AUGUST;
776 GOOD, GregorianCalendar::BC, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME,
777 GOOD, GregorianCalendar
[all...]
H A Dtztest.cpp167 GregorianCalendar *gc = new GregorianCalendar(*zone, status);
168 if (failure(status, "new GregorianCalendar", TRUE)) return;
175 if (failure(status, "GregorianCalendar::getTime")) return;
185 gc = new GregorianCalendar(*zone, status);
186 if (failure(status, "new GregorianCalendar")) return;
341 GregorianCalendar *gc = new GregorianCalendar(status);
342 if (U_FAILURE(status)) { errln("FAIL: Couldn't create GregorianCalendar"); return; }
344 if (U_FAILURE(status)) { errln("FAIL: GregorianCalendar
[all...]
H A Dincaltst.cpp151 // As of JDK 1.4.1_01, using the Sun JDK GregorianCalendar as
223 GregorianCalendar::AD, 1868, 1868, UCAL_SEPTEMBER, 8,
224 GregorianCalendar::AD, 1868, 1868, UCAL_SEPTEMBER, 9,
225 GregorianCalendar::AD, 1869, 1869, UCAL_JUNE, 4,
226 GregorianCalendar::AD, 1912, 1912, UCAL_JULY, 29,
227 GregorianCalendar::AD, 1912, 1912, UCAL_JULY, 30,
228 GregorianCalendar::AD, 1912, 1912, UCAL_AUGUST, 1,
257 * behaves like GregorianCalendar.
307 * behaves like GregorianCalendar.
359 * behaves like GregorianCalendar
[all...]
H A Ddtfmrgts.cpp362 Calendar *cal = new GregorianCalendar(status);
363 failure(status, "new GregorianCalendar");
939 GregorianCalendar *gc = new GregorianCalendar(status);
940 failure(status, "new GregorianCalendar");
1221 // The underlying bug is in GregorianCalendar. If the following lines
1224 GregorianCalendar cal(status);
1336 Calendar *cal = new GregorianCalendar(status);
1390 errln((UnicodeString)"\nError: GregorianCalendar gave " + ms +
1445 Calendar *cal = new GregorianCalendar(zon
[all...]
H A Dtzbdtest.cpp209 GregorianCalendar *gc = new GregorianCalendar(time_zone->clone(), status);
211 if (failure(status, "GregorianCalendar::setTime")) return;
217 if (failure(status, "GregorianCalendar::get")) return;
H A Dtzoffloc.cpp206 int32_t offset = TESTZONES[i]->getOffset(GregorianCalendar::AD, DATES[d][0], DATES[d][1], DATES[d][2],
/macosx-10.10.1/ICU-531.30/icuSources/tools/tzcode/
H A Dicuzdump.cpp191 GregorianCalendar* gcal = new GregorianCalendar(timezone, Locale::getEnglish(), status);
/macosx-10.10.1/BerkeleyDB-21/db/examples_java/src/db/
H A DTpcbExample.java19 import java.util.GregorianCalendar;
603 long seed = (new GregorianCalendar()).get(Calendar.SECOND);

Completed in 290 milliseconds

12