public final class VEventUtilities
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VEventUtilities.VEventProperty
VEvent specific properties with the following data and methods:
iCalendar property name
setVComponent - parse string method
makeContentLine - toString method
isPropertyEqual - tests equality for the property between to VEvents
|
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
isEqualTo(VEvent<?,?> v1,
VEvent<?,?> v2,
boolean verbose)
Tests equality between two VEvent objects.
|
static void |
parse(VEvent<?,?> vEvent,
javafx.util.Pair<java.lang.String,java.lang.String> propertyValuePair)
Parses the property-value pair to the matching property, if a match is found.
|
public static <T> boolean isEqualTo(VEvent<?,?> v1, VEvent<?,?> v2, boolean verbose)
Tests equality between two VEvent objects. Treats v1 as expected. Produces a JUnit-like output if objects are not equal.
v1
- - expected VEventv2
- - actual VEventverbose
- - true = display list of unequal properties, false no display outputpublic static void parse(VEvent<?,?> vEvent, javafx.util.Pair<java.lang.String,java.lang.String> propertyValuePair)
Parses the property-value pair to the matching property, if a match is found. If no matching property, does nothing.
vEvent
- - object to add property valuespropertyValuePair
- - property name-value pair (e.g. DTSTART and TZID=America/Los_Angeles:20160214T110000)