Method | Description | |
---|---|---|
TryParseRawTimeSpan ( string rawSpan, CourseSectionTimeSpan &span ) : bool |
Parse the time format on UT artsci to CourseTimeSpan format
|
|
TryParseTimeSpanInt ( string rawTime, byte &result ) : bool |
Convert a raw time string to a standard integer accepted by CourseTimeSpan constructor
|
Method | Description | |
---|---|---|
To24HourTime ( byte time, bool fixAfternoon = false ) : byte |
Convert a 12-hour time to 24-hour time
|
|
UTCourseSectionTimeSpan ( ) : System |
public static TryParseRawTimeSpan ( string rawSpan, CourseSectionTimeSpan &span ) : bool | ||
rawSpan | string | e.g. "M2-4" |
span | CourseSectionTimeSpan | |
return | bool |
public static TryParseTimeSpanInt ( string rawTime, byte &result ) : bool | ||
rawTime | string | Raw time string in the form 11:30 or 11 |
result | byte | |
return | bool |