Type | Description | |||
Value as String | A String expression that indicates the value to be converted from | |||
Type as PropertyTypeEnum | A PropertyTypeEnum expression that specifies the type to be converted to | |||
Variant | A VARIANT expression that specifies the value being converted |
Based on the Type parameter of the fromICalendar property, the type of the VARIANT being returned is:
For instance, the valuesFromICalendar("P12DT4H",exPropertyTypeDuration,"D") returns the number of days in the duration expression ( in this case 12 ), while the valuesFromICalendar("P12DT4H",exPropertyTypeDuration,"H") returns the number of hours in the duration expression ( in this case 4 ) .
For instance, the valuesFromICalendar("20010101T000000/P1D",exPropertyTypePeriod,"Start") returns the date to start the period ( in this case #1/1/2001# ), while the valuesFromICalendar("20010101T000000/P1D",exPropertyTypePeriod,"D") returns the number of days for the period expression ( in this case 1 ).
For instance, the valuesFromICalendar("FREQ=WEEKLY;INTERVAL=2;COUNT=4;BYDAY=SA,SU",exPropertyTypeRecur,"") returns all known properties of the recurrence rule like "BYDAY=SA,SU;COUNT=4;FREQ=WEEKLY;INTERVAL=2", while the valuesFromICalendar("FREQ=WEEKLY;INTERVAL=2;COUNT=4;BYDAY=SA,SU",exPropertyTypeRecur,"FREQ") returns the value of the FREQ parameter ( in this case WEEKLY ).