Advertisement
lamaulfarid

PrayerTime

Oct 21st, 2020
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.12 KB | None | 0 0
  1.  
  2. /**
  3.  * Write a description of class PrayerTime here.
  4.  *
  5.  * @author Ahmad Lamaul Farid
  6.  * @version 21 Oktober 2020
  7.  */
  8. public class PrayerTime
  9. {
  10.     private String imsak, shubuh, terbit, dhuha, dhuhur, ashar, maghrib, isya;
  11.     public PrayerTime()
  12.     {
  13.         this.imsak = "03:41:00";
  14.         this.shubuh = "03:51:00";
  15.         this.terbit = "05:06:00";
  16.         this.dhuha = "05:30:00";
  17.         this.dhuhur = "11:19:00";
  18.         this.ashar = "14:28:00";
  19.         this.maghrib = "17:28:00";
  20.         this.isya = "18:39:00";
  21.     }
  22.    
  23.     public String getImsak()
  24.     {
  25.         return imsak;
  26.     }
  27.    
  28.     public String getShubuh()
  29.     {
  30.         return shubuh;
  31.     }
  32.    
  33.     public String getTerbit()
  34.     {
  35.         return terbit;
  36.     }
  37.    
  38.     public String getDhuha()
  39.     {
  40.         return dhuha;
  41.     }
  42.    
  43.     public String getDhuhur()
  44.     {
  45.         return dhuhur;
  46.     }
  47.    
  48.     public String getAshar()
  49.     {
  50.         return ashar;
  51.     }
  52.    
  53.     public String getMaghrib()
  54.     {
  55.         return maghrib;
  56.     }
  57.    
  58.     public String getIsya()
  59.     {
  60.         return isya;
  61.     }
  62. }
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement