⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 javadocdemo.html

📁 java经典的源代码 我非常喜欢这个源代码 对于编程很有好处
💻 HTML
📖 第 1 页 / 共 2 页
字号:
javadocDemo</H3>
<PRE>
public <B>javadocDemo</B>()            throws java.lang.Exception</PRE>
<DL>
<DD>javadocDemo constructor initializes each instance variable to 2003.1.1.
<P>
<DT><B>Throws:</B><DD><CODE><code>Exception</code></CODE> - in the case of an invalid day<DD><CODE>java.lang.Exception</CODE></DL>
<HR>

<A NAME="javadocDemo(int)"><!-- --></A><H3>
javadocDemo</H3>
<PRE>
public <B>javadocDemo</B>(int&nbsp;y)            throws java.lang.Exception</PRE>
<DL>
<DD>javadocDemo constructor: year supplied, month and day defaulted to 1
<P>
<DT><B>Parameters:</B><DD><CODE>y</CODE> - the year<DT><B>Throws:</B><DD><CODE><code>Exception</code></CODE> - in the case of an invalid day<DD><CODE>java.lang.Exception</CODE></DL>
<HR>

<A NAME="javadocDemo(int, int)"><!-- --></A><H3>
javadocDemo</H3>
<PRE>
public <B>javadocDemo</B>(int&nbsp;y,                   int&nbsp;m)            throws java.lang.Exception</PRE>
<DL>
<DD>javadocDemo constructor: year and month supplied, day defaulted to 1
<P>
<DT><B>Parameters:</B><DD><CODE>y</CODE> - the year<DD><CODE>m</CODE> - the month<DT><B>Throws:</B><DD><CODE><code>Exception</code></CODE> - in the case of an invalid day<DD><CODE>java.lang.Exception</CODE></DL>
<HR>

<A NAME="javadocDemo(int, int, int)"><!-- --></A><H3>
javadocDemo</H3>
<PRE>
public <B>javadocDemo</B>(int&nbsp;y,                   int&nbsp;m,                   int&nbsp;d)            throws java.lang.Exception</PRE>
<DL>
<DD>javadocDemo constructor: year, month and day supplied
<P>
<DT><B>Parameters:</B><DD><CODE>y</CODE> - the year<DD><CODE>m</CODE> - the month<DD><CODE>d</CODE> - the day<DT><B>Throws:</B><DD><CODE><code>Exception</code></CODE> - in the case of an invalid day<DD><CODE>java.lang.Exception</CODE></DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="setDate(int, int, int)"><!-- --></A><H3>
setDate</H3>
<PRE>
public void <B>setDate</B>(int&nbsp;y,                    int&nbsp;m,                    int&nbsp;d)             throws java.lang.Exception</PRE>
<DL>
<DD>Set a new day value using universal day. Perform validity checks on data. Set invalid values to zero.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>y</CODE> - the year<DD><CODE>m</CODE> - the month<DD><CODE>d</CODE> - the day<DT><B>Throws:</B><DD><CODE><code>Exception</code></CODE> - in the case of an invalid day<DD><CODE>java.lang.Exception</CODE><DT><B>See Also:</B><DD><A HREF="javadocDemo.html#setYear(int)"><CODE>setYear(int)</CODE></A>, <A HREF="javadocDemo.html#setMonth(int)"><CODE>setMonth(int)</CODE></A>, <A HREF="javadocDemo.html#setDate(int, int, int)"><CODE>setDate(int, int, int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setYear(int)"><!-- --></A><H3>
setYear</H3>
<PRE>
public void <B>setYear</B>(int&nbsp;y)             throws java.lang.Exception</PRE>
<DL>
<DD>Sets the year
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>y</CODE> - the year<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - in the case of an invalid day</DL>
</DD>
</DL>
<HR>

<A NAME="setMonth(int)"><!-- --></A><H3>
setMonth</H3>
<PRE>
public void <B>setMonth</B>(int&nbsp;m)              throws java.lang.Exception</PRE>
<DL>
<DD>Sets the month
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>m</CODE> - the month<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - in the case of an invalid day</DL>
</DD>
</DL>
<HR>

<A NAME="setDate(int)"><!-- --></A><H3>
setDate</H3>
<PRE>
public void <B>setDate</B>(int&nbsp;d)             throws java.lang.Exception</PRE>
<DL>
<DD>Sets the day
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>d</CODE> - the Day<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - in the case of an invalid day</DL>
</DD>
</DL>
<HR>

<A NAME="getYear()"><!-- --></A><H3>
getYear</H3>
<PRE>
public int <B>getYear</B>()</PRE>
<DL>
<DD>Gets the year
<P>
<DD><DL>
<DT><B>Returns:</B><DD>an <code>int</code> specifying the year.</DL>
</DD>
</DL>
<HR>

<A NAME="getMonth()"><!-- --></A><H3>
getMonth</H3>
<PRE>
public int <B>getMonth</B>()</PRE>
<DL>
<DD>Gets the month
<P>
<DD><DL>
<DT><B>Returns:</B><DD>an <code>int</code> specifying the month.</DL>
</DD>
</DL>
<HR>

<A NAME="getDate()"><!-- --></A><H3>
getDate</H3>
<PRE>
public int <B>getDate</B>()</PRE>
<DL>
<DD>Gets the day
<P>
<DD><DL>
<DT><B>Returns:</B><DD>an <code>int</code> specifying the day.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">      <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="javadocDemo.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -