Class Info
public class DayNightMsg
Daytime or night message class.
Qualifier and Type
Method Name and Description
String
getMsg()
Obtains the calculation information.
boolean
isDayTime()
Checks whether the current time is in daytime.
isResult()
Obtains the calculation result.
Method
public String getMsg()
Returns
Type
Description
Calculation information, that is, error reason.
public boolean isDayTime()
Whether the current time is in daytime.
public boolean isResult()
Whether the calculation result is obtained successfully.