com.a06.model
Class Parser

java.lang.Object
  extended by com.a06.model.Parser

public class Parser
extends java.lang.Object

Converts HTML form data (9:00-11:30,3:30-5:00) to the proper format to populate the calendar (M:1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1).


Constructor Summary
Parser()
           
 
Method Summary
static java.lang.String doParse(java.lang.String myinput)
           
static void main(java.lang.String[] args)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

public Parser()
Method Detail

main

public static void main(java.lang.String[] args)
Deprecated. 


doParse

public static java.lang.String doParse(java.lang.String myinput)
Parameters:
myinput - a String containing data from the HTML form, in the format of "9:00-11:30,3:30-5:00"
Returns:
A String resulting from converting the input into the following format: "M:1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1"