leafchat.core.api
Class MinuteMsg

java.lang.Object
  extended by leafchat.core.api.Msg
      extended by leafchat.core.api.MinuteMsg

public class MinuteMsg
extends Msg

Message sent every minute


Field Summary
static MessageInfo info
          Message info; allows scripting
 
Fields inherited from class leafchat.core.api.Msg
PRIORITY_AFTERNORMAL, PRIORITY_BEFORENORMAL, PRIORITY_EARLY, PRIORITY_FIRST, PRIORITY_LAST, PRIORITY_LATE, PRIORITY_NORMAL
 
Constructor Summary
MinuteMsg(int hour, int minute)
           
 
Method Summary
 int getHour()
           
 int getMinute()
           
 
Methods inherited from class leafchat.core.api.Msg
isHandled, isStopped, markHandled, markStopped, sequenceBefore, setSequence, setSequence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

info

public static MessageInfo info
Message info; allows scripting

Constructor Detail

MinuteMsg

public MinuteMsg(int hour,
                 int minute)
Parameters:
hour - Hour (0-23) in local time
minute - Minute in local time
Method Detail

getHour

public int getHour()
Returns:
Hour (0-23) in local time

getMinute

public int getMinute()
Returns:
Minute (0-59) in local time


Copyright © 2011 Samuel Marshall. All rights reserved.