aboutsummaryrefslogtreecommitdiffstats
path: root/src/ru/olamedia/astronomy/RightAscension.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ru/olamedia/astronomy/RightAscension.java')
-rw-r--r--src/ru/olamedia/astronomy/RightAscension.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/ru/olamedia/astronomy/RightAscension.java b/src/ru/olamedia/astronomy/RightAscension.java
new file mode 100644
index 0000000..a321eee
--- /dev/null
+++ b/src/ru/olamedia/astronomy/RightAscension.java
@@ -0,0 +1,32 @@
+package ru.olamedia.astronomy;
+
+/*
+ * Copyright 2011 Brad Parks
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//package com.bradsbrain.simpleastronomy;
+
+public class RightAscension extends MinuntesAndSecondsBase {
+ private int hours;
+
+ public RightAscension(int hours, int minutes, int seconds) {
+ this.hours = hours;
+ setMinutes(minutes);
+ setSeconds(seconds);
+ }
+
+ public int getHours() {
+ return hours;
+ }
+} \ No newline at end of file