org.jasig.schedassist.web.owner.schedule
Class AvailableScheduleDataController.AvailableBlockJsonRepresentation
java.lang.Object
org.jasig.schedassist.web.owner.schedule.AvailableScheduleDataController.AvailableBlockJsonRepresentation
- Enclosing class:
- AvailableScheduleDataController
public static class AvailableScheduleDataController.AvailableBlockJsonRepresentation
- extends Object
Simpler representation of an AvailableBlock tailored for JSON.
- Author:
- Nicholas Blair, npblair@wisc.edu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATETIME_FORMAT
public static final String DATETIME_FORMAT
- See Also:
- Constant Field Values
AvailableScheduleDataController.AvailableBlockJsonRepresentation
public AvailableScheduleDataController.AvailableBlockJsonRepresentation(AvailableBlock block)
- Parameters:
block -
getStartTime
public String getStartTime()
- Returns:
- the formatted start time of the block
getDurationIn15Mins
public int getDurationIn15Mins()
- Returns:
- the duration of the block in 15 minute segments (e.g. ~block duration / 15)
getVisitorLimit
public int getVisitorLimit()
- Returns:
- the block's visitorLimit
getMeetingLocation
public String getMeetingLocation()
- Returns:
- the block's meetingLocation
Copyright © 2011 Jasig. All Rights Reserved.