/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 | Era.java | 108 public long getSince(TimeZone zone) { argument 109 if (zone == null || !localTime) { 112 int offset = zone.getOffset(since);
|
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
|
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 | 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 | 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 | BaseCalendar.java | 148 protected Date(TimeZone zone) { argument 149 super(zone); 226 // If the date has a time zone, then we need to recalculate
|
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;
|
/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 | SF2Instrument.java | 120 public void setGlobalZone(SF2GlobalRegion zone) { argument 121 globalregion = zone;
|
/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 | DnsClient.java | 305 ResourceRecords queryZone(DnsName zone, int qclass, boolean recursion) argument 313 Packet pkt = makeQueryPacket(zone, xid, qclass, 332 "DNS error: zone xfer doesn't begin with SOA"); 342 "DNS error: incomplete zone transfer"); 371 "DNS error during zone transfer");
|
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/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/make/tools/src/build/tools/javazic/ |
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...] |
/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/jdk/src/share/classes/java/util/ |
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 | 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 | 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...] |
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...] |
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | DateFormat.java | 111 * <p>You can also set the time zone on the format if you wish. 623 * Sets the time zone for the calendar of this {@code DateFormat} object. 626 * getCalendar().setTimeZone(zone) 635 * @param zone the given new time zone. 637 public void setTimeZone(TimeZone zone) argument 639 calendar.setTimeZone(zone); 643 * Gets the time zone. 649 * @return the time zone associated with the calendar of DateFormat. 993 * Constant identifying the time zone fiel [all...] |
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | os.cpp | 131 const time_t zone = (time_t) time_struct.tm_gmtoff; local 133 const time_t zone = timezone; local 137 // we are 1 hour East of our time zone 141 time_t UTC_to_local = zone; 145 // Compute the time zone offset. 158 // Convert time zone offset seconds to hours and minutes. 1241 // Check if we have StackShadowPages above the yellow zone. This parameter
|