Created
April 3, 2012 12:44
-
-
Save remysaissy/2291687 to your computer and use it in GitHub Desktop.
Chemistry code example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
} else if (definition instanceof PropertyDateTimeDefinition) { | |
if (firstValue == null) { | |
propertyData = bof.createPropertyDateTimeData(id, (List) null); | |
} else if (firstValue instanceof GregorianCalendar) { | |
propertyData = bof.createPropertyDateTimeData(id, (List) values); | |
} else { | |
throw new IllegalArgumentException("Property '" + id + "' is a DateTime property!"); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment