mirror of
https://github.com/MistWeatherMedia/WeatherSTAR-3000-Java.git
synced 2026-11-28 14:38:08 -08:00
Delete src directory
This commit is contained in:
1 parent
dbe9b0964d
commit
a2791ddd91
44 files changed
-8408
No files matched your search
@@ -1,47 +0,0 @@
|
||||
package WS3000.weatherstar3000;
|
||||
|
||||
//import java.net.URI;
|
||||
//import java.net.http.HttpClient;
|
||||
//import java.net.http.HttpRequest;
|
||||
//import java.net.http.HttpResponse;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.time.Month;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import util.Utilities;
|
||||
|
||||
//import org.json.JSONObject;
|
||||
|
||||
public class Outlook extends Thread {
|
||||
static Utilities utl = new Utilities();
|
||||
String month;
|
||||
ArrayList<String> outlook = new ArrayList<>();
|
||||
String getMonth() {
|
||||
try {
|
||||
ZonedDateTime cdate = ZonedDateTime.now(Main.timeZone);
|
||||
Month cmonth = cdate.getMonth();
|
||||
|
||||
return cmonth.name().toUpperCase();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return "";
|
||||
}
|
||||
}
|
||||
ArrayList<String> getOutlook() {
|
||||
ArrayList<String> outlook = new ArrayList<>();
|
||||
try {
|
||||
outlook.add("NO");
|
||||
outlook.add("REPORT");
|
||||
return outlook;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
outlook.add("NO");
|
||||
outlook.add("REPORT");
|
||||
return outlook;
|
||||
}
|
||||
}
|
||||
public void run() {
|
||||
Main.outlook.month = getMonth();
|
||||
Main.outlook.outlook = getOutlook();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user