Quintiq file version 2.0
|
#parent: #root
|
StaticMethod Event_Type (
|
String type_i
|
) as String
|
{
|
TextBody:
|
[*
|
msg := "";
|
|
type := type_i.TrimBoth();
|
if( type = "" )
|
{
|
msg := "Type is missing";
|
}
|
else if( type <> LibCal_Event::TYPE_AVAILABLE() and
|
type <> LibCal_Event::TYPE_UNAVAILABLE() and
|
type <> LibCal_Event::TYPE_PARTIAL() )
|
{
|
msg := "Type is invalid";
|
}
|
|
return msg;
|
*]
|
InterfaceProperties { Accessibility: 'Module' }
|
}
|