Yes, you can do that, and if you’re looking to do this WITHOUT the rest of the Platform, you’ll want to look at just the OG-Analytics subproject. At the moment this isn’t packaged as a separate release on its own, but we’ve been considering that as it’s extremely useful without the rest of the Platform.
The one thing to bear in mind is that OG-Analytics has a number of dependencies. While it’s a single jar file in our distribution, it has a number of dependencies (visible from the ivy.xml file: https://github.com/OpenGamma/OG-Platform/blob/master/projects/OG-Analytics/ivy.xml ). Some of these (like our dependency on Dexy.it and latexlet) are there for our documentation, but many of these are for mathematical underlyings that are available in other jars.
That being said, you might also require some classes in OG-Financial, for which it’s easiest to depend on the whole Platform and only classload what you require.
For examples of some of your specifics, you’ll want to look in the Javadocs primarily. Much of what you’re looking for is under com.opengamma.financial.
Daycount conventions are all in com.opengamma.financial.convention.daycount: http://docs-static.opengamma.com/Latest%20Version/java/javadocs/com/opengamma/financial/convention/daycount/package-summary.html
Business day conventions are in com.opengamma.financial.convention.businessday: http://docs-static.opengamma.com/Latest%20Version/java/javadocs/com/opengamma/financial/convention/businessday/package-summary.html
To calculate things like price of a bond, you probably want to start with BondFunction (code: https://github.com/OpenGamma/OG-Platform/blob/master/projects/OG-Financial/src/com/opengamma/financial/analytics/model/bond/BondFunction.java ), which is the basic integration with the Engine, which shows exactly which parts of the Analytics library would be invoked.