Timo_

PrayTime

Oct 21st, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.76 KB | None | 0 0
  1. /**
  2.  * @author Timotius Wirawan
  3.  */
  4.  
  5. public class PrayTime
  6. {
  7.     private String Shubuh, Syuruq, Dhuhur, Ashar, Maghrib, Isya;
  8.    
  9.     PrayTime()
  10.     {
  11.         this.Shubuh = "03:45:00";
  12.         this.Syuruq = "05:00:00";
  13.         this.Dhuhur = "11:15:00";
  14.         this.Ashar = "14:20:00";
  15.         this.Maghrib = "17:20:00";
  16.         this.Isya = "18:30:00";
  17.     }
  18.    
  19.     String getShubuh()
  20.     {
  21.         return Shubuh;
  22.     }
  23.    
  24.     String getSyuruq()
  25.     {
  26.         return Syuruq;
  27.     }
  28.    
  29.     String getDhuhur()
  30.     {
  31.         return Dhuhur;
  32.     }
  33.    
  34.     String getAshar()
  35.     {
  36.         return Ashar;
  37.     }
  38.    
  39.     String getMaghrib()
  40.     {
  41.         return Maghrib;
  42.     }
  43.    
  44.     String getIsya()
  45.     {
  46.         return Isya;
  47.     }
  48.  }
Advertisement
Add Comment
Please, Sign In to add comment