Holger's
Java API

com.antelmann.timeregister
Class PunchUtils

java.lang.Object
  extended by com.antelmann.timeregister.PunchUtils

public class PunchUtils
extends Object

Author:
Holger Antelmann

Constructor Summary
PunchUtils()
           
 
Method Summary
static List<User> getActiveUsers(PunchDB db)
          returns all users that are enabled
static String timeAsHourString(long milliSecs)
          formats a String with hours as the largest entity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PunchUtils

public PunchUtils()
Method Detail

timeAsHourString

public static String timeAsHourString(long milliSecs)
formats a String with hours as the largest entity


getActiveUsers

public static List<User> getActiveUsers(PunchDB db)
                                 throws DatabaseException
returns all users that are enabled

Throws:
DatabaseException


(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads