Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JRE 8 rt.jar - javax.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime environment included in JDK 8. JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the javax.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ javax/print/attribute/DateTimeSyntax.java
/* * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.print.attribute; import java.io.Serializable; import java.util.Date; /** * Class DateTimeSyntax is an abstract base class providing the common * implementation of all attributes whose value is a date and time. * <P> * Under the hood, a date-time attribute is stored as a value of class <code> * java.util.Date</code>. You can get a date-time attribute's Date value by * calling {@link #getValue() getValue()}. A date-time attribute's * Date value is established when it is constructed (see {@link * #DateTimeSyntax(Date) DateTimeSyntax(Date)}). Once * constructed, a date-time attribute's value is immutable. * <P> * To construct a date-time attribute from separate values of the year, month, * day, hour, minute, and so on, use a <code>java.util.Calendar</code> * object to construct a <code>java.util.Date</code> object, then use the * <code>java.util.Date</code> object to construct the date-time attribute. * To convert * a date-time attribute to separate values of the year, month, day, hour, * minute, and so on, create a <code>java.util.Calendar</code> object and * set it to the <code>java.util.Date</code> from the date-time attribute. Class * DateTimeSyntax stores its value in the form of a <code>java.util.Date * </code> * rather than a <code>java.util.Calendar</code> because it typically takes * less memory to store and less time to compare a <code>java.util.Date</code> * than a <code>java.util.Calendar</code>. * <P> * * @author Alan Kaminsky */ public abstract class DateTimeSyntax implements Serializable, Cloneable { private static final long serialVersionUID = -1400819079791208582L; // Hidden data members. /** * This date-time attribute's<code>java.util.Date</code> value. * @serial */ private Date value; // Hidden constructors. /** * Construct a new date-time attribute with the given * <code>java.util.Date </code> value. * * @param value <code>java.util.Date</code> value. * * @exception NullPointerException * (unchecked exception) Thrown if <CODE>theValue</CODE> is null. */ protected DateTimeSyntax(Date value) { if (value == null) { throw new NullPointerException("value is null"); } this.value = value; } // Exported operations. /** * Returns this date-time attribute's <code>java.util.Date</code> * value. * @return the Date. */ public Date getValue() { return new Date (value.getTime()); } // Exported operations inherited and overridden from class Object. /** * Returns whether this date-time attribute is equivalent to the passed in * object. To be equivalent, all of the following conditions must be true: * <OL TYPE=1> * <LI> * <CODE>object</CODE> is not null. * <LI> * <CODE>object</CODE> is an instance of class DateTimeSyntax. * <LI> * This date-time attribute's <code>java.util.Date</code> value and * <CODE>object</CODE>'s <code>java.util.Date</code> value are * equal. </OL> * * @param object Object to compare to. * * @return True if <CODE>object</CODE> is equivalent to this date-time * attribute, false otherwise. */ public boolean equals(Object object) { return (object != null && object instanceof DateTimeSyntax && value.equals(((DateTimeSyntax) object).value)); } /** * Returns a hash code value for this date-time attribute. The hashcode is * that of this attribute's <code>java.util.Date</code> value. */ public int hashCode() { return value.hashCode(); } /** * Returns a string value corresponding to this date-time attribute. * The string value is just this attribute's * <code>java.util.Date</code> value * converted to a string. */ public String toString() { return "" + value; } }
⏎ javax/print/attribute/DateTimeSyntax.java
Or download all of them as a single archive file:
File name: jre-rt-javax-1.8.0_191-src.zip File size: 5381005 bytes Release date: 2018-10-28 Download
⇒ JRE 8 rt.jar - org.* Package Source Code
2024-03-15, 212482👍, 6💬
Popular Posts:
Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with ...
What is the sax\Counter.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 inst...
JRE 5 sunjce_provider.jar is the JAR file for JRE 5 Sun JCE Provider, which provides implementations...
What Is poi-scratchpad-3.5.jar? poi-scratchpad-3.5.jar is one of the JAR files for Apache POI 3.5, w...
What Is HttpComponents commons-httpclient-3.1.j ar?HttpComponents commons-httpclient-3.1.j aris the ...