Interface CampaignClockAPI


public interface CampaignClockAPI
Author:
Alex Mosolov Copyright 2012 Fractal Softworks, LLC
  • Method Details

    • getCycle

      int getCycle()
    • getMonth

      int getMonth()
      1 = January, 12 = December.
      Returns:
    • getDay

      int getDay()
    • getHour

      int getHour()
    • convertToDays

      float convertToDays(float realSeconds)
    • convertToMonths

      float convertToMonths(float realSeconds)
    • getTimestamp

      long getTimestamp()
    • getElapsedDaysSince

      float getElapsedDaysSince(long timestamp)
    • getMonthString

      String getMonthString()
    • getShortMonthString

      String getShortMonthString()
    • getSecondsPerDay

      float getSecondsPerDay()
    • createClock

      CampaignClockAPI createClock(long timestamp)
      New clock based on the timestamp.
      Parameters:
      timestamp -
      Returns:
    • getDateString

      String getDateString()
    • convertToSeconds

      float convertToSeconds(float days)
    • getShortDate

      String getShortDate()
    • getCycleString

      String getCycleString()
    • getCal