mirror of
https://bitbucket.org/akapribot/owm-japis.git
synced 2025-04-25 07:17:11 -07:00
2.5.0.2 is ready! There is always room for corrections. :-)
This commit is contained in:
parent
135ff2bf74
commit
c295549579
106 changed files with 2060 additions and 7535 deletions
|
@ -2,16 +2,16 @@
|
|||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_17) on Sat Aug 10 23:46:35 IST 2013 -->
|
||||
<!-- Generated by javadoc (version 1.7.0_51) on Thu Jul 03 01:05:54 IST 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
|
||||
<title>CurrentWeatherData.Sys (OpenWeatherMap.org JAPIs)</title>
|
||||
<meta name="date" content="2013-08-10">
|
||||
<title>CurrentWeatherData.Sys (OWM JAPIs Docs)</title>
|
||||
<meta name="date" content="2014-07-03">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="CurrentWeatherData.Sys (OpenWeatherMap.org JAPIs)";
|
||||
parent.document.title="CurrentWeatherData.Sys (OWM JAPIs Docs)";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
@ -62,13 +62,13 @@
|
|||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
|
@ -102,22 +102,24 @@
|
|||
<br>
|
||||
<pre>public static class <span class="strong">CurrentWeatherData.Sys</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Parses data about country, sunrise, and sunset (from the JSON data)
|
||||
and provides methods to get/access the information.
|
||||
This class provides <code>has</code> and <code>get</code> methods
|
||||
to access the information.
|
||||
|
||||
<p><code>has</code> methods can be used to check
|
||||
if the data exists, i.e., if the data was available (successfully
|
||||
downloaded) and was parsed correctly.
|
||||
|
||||
<p><code>get</code> methods can be used to access the data, if the data
|
||||
exists, otherwise <code>get</code> methods will give value as per
|
||||
<div class="block">Parses data about country, sunrise, and sunset (from the JSON data) and
|
||||
provides methods to get/access the information. This class provides
|
||||
<code>has</code> and <code>get</code> methods to access the information.
|
||||
<p>
|
||||
<p>
|
||||
<code>has</code> methods can be used to check if the data exists, i.e.,
|
||||
if the data was available (successfully downloaded) and was parsed
|
||||
correctly.
|
||||
<p>
|
||||
<p>
|
||||
<code>get</code> methods can be used to access the data, if the data
|
||||
exists, otherwise <code>get</code> methods will give value as per
|
||||
following basis:<br>
|
||||
Boolean: <code>false</code><br>
|
||||
Integral: Minimum value (MIN_VALUE)<br>
|
||||
Floating point: Not a number (NaN)<br>
|
||||
Others: <code>null</code><br></div>
|
||||
Others: <code>null</code><br>
|
||||
<p></div>
|
||||
<dl><dt><span class="strong">Since:</span></dt>
|
||||
<dd>2.5.0.1</dd>
|
||||
<dt><span class="strong">Version:</span></dt>
|
||||
|
@ -130,57 +132,6 @@ extends java.lang.Object</pre>
|
|||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>private java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/CurrentWeatherData.Sys.html#countryCode">countryCode</a></strong></code>
|
||||
<div class="block">Country code for the city</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>private java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/CurrentWeatherData.Sys.html#JSON_SYS_COUNTRY_CODE">JSON_SYS_COUNTRY_CODE</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>Sys -> Country</code></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>private java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/CurrentWeatherData.Sys.html#JSON_SYS_SUNRISE">JSON_SYS_SUNRISE</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>Sys -> Sunrise</code></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>private java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/CurrentWeatherData.Sys.html#JSON_SYS_SUNSET">JSON_SYS_SUNSET</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>Sys -> Sunset</code></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>private java.util.Date</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/CurrentWeatherData.Sys.html#sunrise">sunrise</a></strong></code>
|
||||
<div class="block">Sunrise time</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>private java.util.Date</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/CurrentWeatherData.Sys.html#sunset">sunset</a></strong></code>
|
||||
<div class="block">Sunset time</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
|
@ -199,9 +150,7 @@ extends java.lang.Object</pre>
|
|||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../../../../net/aksingh/java/api/owm/CurrentWeatherData.Sys.html#CurrentWeatherData.Sys(org.json.JSONObject)">CurrentWeatherData.Sys</a></strong>(org.json.JSONObject jsonObj)</code>
|
||||
<div class="block">Parameterized constructor
|
||||
|
||||
Initializes variables from values from the given JSON object.</div>
|
||||
<div class="block">Parameterized constructor</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -259,77 +208,6 @@ extends java.lang.Object</pre>
|
|||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="JSON_SYS_COUNTRY_CODE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_SYS_COUNTRY_CODE</h4>
|
||||
<pre>private final java.lang.String JSON_SYS_COUNTRY_CODE</pre>
|
||||
<div class="block">Key for JSON variable <code>Sys -> Country</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.CurrentWeatherData.Sys.JSON_SYS_COUNTRY_CODE">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_SYS_SUNRISE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_SYS_SUNRISE</h4>
|
||||
<pre>private final java.lang.String JSON_SYS_SUNRISE</pre>
|
||||
<div class="block">Key for JSON variable <code>Sys -> Sunrise</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.CurrentWeatherData.Sys.JSON_SYS_SUNRISE">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_SYS_SUNSET">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_SYS_SUNSET</h4>
|
||||
<pre>private final java.lang.String JSON_SYS_SUNSET</pre>
|
||||
<div class="block">Key for JSON variable <code>Sys -> Sunset</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.CurrentWeatherData.Sys.JSON_SYS_SUNSET">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="countryCode">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>countryCode</h4>
|
||||
<pre>private final java.lang.String countryCode</pre>
|
||||
<div class="block">Country code for the city</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="sunrise">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>sunrise</h4>
|
||||
<pre>private final java.util.Date sunrise</pre>
|
||||
<div class="block">Sunrise time</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="sunset">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>sunset</h4>
|
||||
<pre>private final java.util.Date sunset</pre>
|
||||
<div class="block">Sunset time</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
|
@ -344,8 +222,9 @@ extends java.lang.Object</pre>
|
|||
<h4>CurrentWeatherData.Sys</h4>
|
||||
<pre>public CurrentWeatherData.Sys()</pre>
|
||||
<div class="block">Non-parameterized constructor
|
||||
|
||||
<p>Initializes variables as per following basis:<br>
|
||||
<p>
|
||||
<p>
|
||||
Initializes variables as per following basis:<br>
|
||||
Boolean: <code>false</code><br>
|
||||
Integral: Minimum value (MIN_VALUE)<br>
|
||||
Floating point: Not a number (NaN)<br>
|
||||
|
@ -360,9 +239,10 @@ extends java.lang.Object</pre>
|
|||
<h4>CurrentWeatherData.Sys</h4>
|
||||
<pre>public CurrentWeatherData.Sys(org.json.JSONObject jsonObj)</pre>
|
||||
<div class="block">Parameterized constructor
|
||||
|
||||
Initializes variables from values from the given JSON object.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jsonObj</code> - JSON object containing data about country, sunrise,
|
||||
<p>
|
||||
Initializes variables from values from the given JSON object.
|
||||
<p></div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jsonObj</code> - JSON object containing data about country, sunrise,
|
||||
and sunset.</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -479,13 +359,13 @@ extends java.lang.Object</pre>
|
|||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue