public interface CampaignClockAPI
Modifier and Type | Method and Description |
---|---|
float |
convertToDays(float realSeconds) |
float |
convertToMonths(float realSeconds) |
float |
convertToSeconds(float days) |
CampaignClockAPI |
createClock(long timestamp)
New clock based on the timestamp.
|
java.util.GregorianCalendar |
getCal() |
int |
getCycle() |
java.lang.String |
getCycleString() |
java.lang.String |
getDateString() |
int |
getDay() |
float |
getElapsedDaysSince(long timestamp) |
int |
getHour() |
int |
getMonth()
1 = January, 12 = December.
|
java.lang.String |
getMonthString() |
float |
getSecondsPerDay() |
java.lang.String |
getShortDate() |
java.lang.String |
getShortMonthString() |
long |
getTimestamp() |
int getCycle()
int getMonth()
int getDay()
int getHour()
float convertToDays(float realSeconds)
float convertToMonths(float realSeconds)
long getTimestamp()
float getElapsedDaysSince(long timestamp)
java.lang.String getMonthString()
java.lang.String getShortMonthString()
float getSecondsPerDay()
CampaignClockAPI createClock(long timestamp)
timestamp
- java.lang.String getDateString()
float convertToSeconds(float days)
java.lang.String getShortDate()
java.lang.String getCycleString()
java.util.GregorianCalendar getCal()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.