/openjdk7/jdk/src/share/classes/sun/util/calendar/ |
H A D | Gregorian.java | 44 protected Date(TimeZone zone) { argument 45 super(zone); 76 public Date getCalendarDate(long millis, TimeZone zone) { argument 77 return getCalendarDate(millis, newCalendarDate(zone)); 84 public Date newCalendarDate(TimeZone zone) { argument 85 return new Date(zone);
|
H A D | JulianCalendar.java | 53 protected Date(TimeZone zone) { argument 54 super(zone); 133 public Date getCalendarDate(long millis, TimeZone zone) { argument 134 return getCalendarDate(millis, newCalendarDate(zone)); 141 public Date newCalendarDate(TimeZone zone) { argument 142 return new Date(zone);
|
H A D | Era.java | 108 public long getSince(TimeZone zone) { argument 109 if (zone == null || !localTime) { 112 int offset = zone.getOffset(since);
|
H A D | LocalGregorianCalendar.java | 57 protected Date(TimeZone zone) { argument 58 super(zone); 206 public Date getCalendarDate(long millis, TimeZone zone) { argument 207 return getCalendarDate(millis, newCalendarDate(zone)); 242 public Date newCalendarDate(TimeZone zone) { argument 243 return new Date(zone);
|
H A D | CalendarSystem.java | 194 * the time zone offsets (i.e., the GMT offset and amount of 206 public abstract CalendarDate getCalendarDate(long millis, TimeZone zone); argument 211 * values. The {@link TimeZone#getDefault() default time zone} is 219 public abstract CalendarDate newCalendarDate(TimeZone zone); argument
|
H A D | CalendarDate.java | 93 protected CalendarDate(TimeZone zone) { argument 94 zoneinfo = zone; 423 int zone = zoneinfo != null ? zoneinfo.hashCode() : 0; 424 return (int) hash * (int)(hash >> 32) ^ era ^ normalized ^ zone;
|
H A D | AbstractCalendar.java | 110 public CalendarDate getCalendarDate(long millis, TimeZone zone) { argument 111 CalendarDate date = newCalendarDate(zone); 121 // adjust to local time if `date' has time zone. 133 // We need to calculate the given millis and time zone 183 // adjust time zone and daylight saving
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/ |
H A D | Resolver.java | 85 * Queries all resource records of a zone given its domain name and class. 87 * the name server (and also on the zone transfer, but it won't matter). 89 ResourceRecords queryZone(DnsName zone, int rrclass, boolean recursion) argument 93 new DnsClient(findNameServers(zone, recursion), timeout, retries); 95 return cl.queryZone(zone, rrclass, recursion); 102 * Finds the zone of a given domain name. The method is to look 104 * the root. This search may be partially bypassed if the zone's 123 if (rrs.answer.size() > 0) { // found zone's SOA 126 // Look for an SOA record giving the zone's top node. 131 DnsName zone 149 findSoa(DnsName zone, int rrclass, boolean recursion) argument 168 findNameServers(DnsName zone, boolean recursion) argument [all...] |
H A D | ZoneNode.java | 37 * A ZoneNode that represents a zone may be "populated" with a 38 * NameNode tree containing the zone's contents. 40 * <p> A populated zone's contents will be flagged as having expired after 41 * the time specified by the minimum TTL value in the zone's SOA record. 43 * <p> Since zone cuts aren't directly modeled by a tree of ZoneNodes, 48 * <p> The zone's contents are accessed via a soft reference, so its 49 * heap space may be reclaimed when necessary. The zone may be 58 private SoftReference contentsRef = null; // the zone's namespace 59 private long serialNumber = -1; // the zone data's serial number 60 private Date expiration = null; // time when the zone' 126 populate(DnsName zone, ResourceRecords rrs) argument [all...] |
H A D | DnsContext.java | 87 // The zone tree used for list operations 782 * A zone's contents is a NameNode tree that, once created, is never 791 * Returns the node in the zone tree corresponding to a 793 * tree has not yet been populated or has been outdated, a zone 799 // Find deepest related zone in zone tree. 801 DnsName zone; 805 dprint("Deepest related zone in zone tree: " + 815 // If fqdn is in znode's zone, i 880 populateZone(ZoneNode znode, DnsName zone) argument 903 isZoneCurrent(ZoneNode znode, DnsName zone) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SF2Layer.java | 71 public void setGlobalZone(SF2GlobalRegion zone) { argument 72 globalregion = zone;
|
H A D | DLSInstrument.java | 377 for (DLSRegion zone: regions) { 379 performer.setName(zone.getSample().getName()); 380 performer.setSelfNonExclusive((zone.getFusoptions() & 382 performer.setExclusiveClass(zone.getExclusiveClass()); 383 performer.setKeyFrom(zone.getKeyfrom()); 384 performer.setKeyTo(zone.getKeyto()); 385 performer.setVelFrom(zone.getVelfrom()); 386 performer.setVelTo(zone.getVelto()); 390 for (DLSModulator mod: zone.getModulators()) { 403 DLSSample sample = zone [all...] |
/openjdk7/jdk/test/java/text/Format/DateFormat/ |
H A D | Bug6645292.java | 27 * @summary Make sure to parse a DST time zone name with which the 38 TimeZone zone = TimeZone.getDefault(); 63 TimeZone.setDefault(zone);
|
H A D | ISO8601ZoneTest.java | 27 * @summary Unit test for ISO8601 time zone format support 37 // time zone name, expected output at TIMESTAMP 126 for (String zone : zones) { 127 TimeZone.setDefault(TimeZone.getTimeZone(zone));
|
/openjdk7/jdk/make/tools/src/build/tools/javazic/ |
H A D | Mappings.java | 73 Zone zone = zones.get(zoneName); 74 String zonename = zone.getName(); 75 int rawOffset = zone.get(zone.size()-1).getGmtOffset(); 80 for (int i = 0; i < zone.size(); i++) { 81 ZoneRec zrec = zone.get(i); 87 excludeList.add(zone.getName()); 117 // If there are time zone names which refer to any of the
|
H A D | Zoneinfo.java | 53 * instances for the SimpleTimeZone-based time zone support. 82 * Adds the given zone to the list of Zones. 83 * @param zone Zone to be added to the list. 85 void add(Zone zone) { argument 86 String name = zone.getName(); 87 zones.put(name, zone); 101 * @param name1 an alias time zone name 102 * @param name2 the real time zone of the alias name 189 * @param name a zone name 208 * Parses the specified time zone dat [all...] |
H A D | GenDoc.java | 51 * index.html and other html files which prints the detailed time zone 52 * information for each zone. 81 // list of time zone name and zonefile name/real time zone name 84 // "America/Denver" : "America/Denver.html" (real time zone) 88 // list of time zone's display name and time zone name 103 // mapping list from zone name to latitude & longitude 104 // This list is generated from zone.tab. 111 // SortedMap of zone ID [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Calendar.java | 249 * <code>f</code> is changed or other constraints, such as time zone 549 * zone of this <code>Calendar</code> if the 560 * the time zone of this <code>Calendar</code> if the 814 * uses the time zone data to translate between locale and GMT time. 817 private TimeZone zone; field in class:Calendar 820 * <code>True</code> if zone references to a shared TimeZone object. 933 * Constructs a Calendar with the default time zone 944 * Constructs a calendar with the specified time zone and locale. 946 * @param zone the time zone t 949 Calendar(TimeZone zone, Locale aLocale) argument 981 getInstance(TimeZone zone) argument 1010 getInstance(TimeZone zone, Locale aLocale) argument 1016 createCalendar(TimeZone zone, Locale aLocale) argument [all...] |
H A D | GregorianCalendar.java | 260 * // create a Pacific Standard Time time zone 267 * // create a GregorianCalendar with the Pacific Daylight time zone 565 * Temporary int[2] to get time zone offsets. zoneOffsets[0] gets 583 * in the default time zone with the default locale. 592 * in the given time zone with the default locale. 594 * @param zone the given time zone. 596 public GregorianCalendar(TimeZone zone) { argument 597 this(zone, Locale.getDefault(Locale.Category.FORMAT)); 602 * in the default time zone wit 618 GregorianCalendar(TimeZone zone, Locale aLocale) argument 1968 setTimeZone(TimeZone zone) argument [all...] |
H A D | TimeZone.java | 54 * <code>TimeZone</code> represents a time zone offset, and also figures out daylight 59 * which creates a <code>TimeZone</code> based on the time zone where the program 65 * along with a time zone ID. For instance, the time zone ID for the 66 * U.S. Pacific Time zone is "America/Los_Angeles". So, you can get a 72 * all the supported time zone IDs. You can then choose a 74 * If the time zone you want is not represented by one of the 75 * supported IDs, then a custom time zone ID can be specified to 76 * produce a TimeZone. The syntax of a custom time zone ID is: 100 * transition schedule can be specified with a custom time zone I 706 setDefault(TimeZone zone) argument [all...] |
H A D | JapaneseImperialCalendar.java | 278 * Temporary int[2] to get time zone offsets. zoneOffsets[0] gets 292 * in the given time zone with the given locale. 294 * @param zone the given time zone. 297 public JapaneseImperialCalendar(TimeZone zone, Locale aLocale) { argument 298 super(zone, aLocale); 299 jdate = jcal.newCalendarDate(zone); 418 // time zone offset change adjustment. Convert the 439 // The time fields don't require time zone offset change 447 // require time zone offse 1547 setTimeZone(TimeZone zone) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | ZoneView.java | 65 * have the effect of causing only one zone to be created. This would 96 * Get the current maximum zone size. 103 * Set the desired maximum zone size. A 104 * zone may get larger than this size if 109 * @param size the number of characters the zone 111 * the zone into a smaller size. 144 * Called by a zone when it gets loaded. This happens when 146 * translation on a zone that was in an unloaded state. 148 * zones was reached and to unload the oldest zone if so. 150 * @param zone th 152 zoneWasLoaded(View zone) argument 176 unloadZone(View zone) argument 188 isZoneLoaded(View zone) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/lib/ |
H A D | ExsltDatetime.java | 54 // Datetime formats (era and zone handled separately). 74 * The date/time string format must include a time zone, either a Z to indicate Coordinated 97 // In a few cases, the time zone may be +/-hh:30. 131 * If no argument is given or the argument date/time specifies a time zone, then the date string 132 * format must include a time zone, either a Z to indicate Coordinated Universal Time or a + or - 134 * is specified and it does not specify a time zone, then the date string format must not include 135 * a time zone. 143 String zone = edz[2]; 144 if (datetime == null || zone == null) 158 return (leader + dateOut + zone); [all...] |
/openjdk7/jdk/src/share/classes/sun/util/ |
H A D | BuddhistCalendar.java | 55 * in the default time zone with the default locale. 63 * in the given time zone with the default locale. 64 * @param zone the given time zone. 66 public BuddhistCalendar(TimeZone zone) { argument 67 super(zone); 72 * in the default time zone with the given locale. 81 * in the given time zone with the given locale. 82 * @param zone the given time zone 85 BuddhistCalendar(TimeZone zone, Locale aLocale) argument [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | InetAddress.java | 1062 * also be qualified by appending a scoped zone identifier or scope_id. 1125 // Check if a numeric or string zone id is present 1184 int digit, zone=0; 1200 zone = (zone * 10) + digit; 1202 return zone;
|