Commit Graph

60 Commits

Author SHA1 Message Date
Zafar Khaja
f7b8dce2af Add more comparison tests 2013-02-14 23:15:52 +04:00
Zafar Khaja
3f0c079f59 Override toString() method 2012-12-01 01:33:13 +04:00
Zafar Khaja
7b4e653723 Refactor previous commit; remove duplications 2012-11-27 22:00:08 +04:00
Zafar Khaja
e0bca455ae Refactor Version.compareTo() method
According to the Specification the pre-release version should
have a lower precedence than the associated normal version and the
build version should have a higher precedence than the associated
normal version.
2012-11-24 21:20:15 +04:00
Zafar Khaja
6bca0180c6 Add convenience methods for comparisons 2012-11-20 22:23:32 +04:00
Zafar Khaja
d670f15b16 Override equals() & hashCode() methods 2012-11-20 22:17:29 +04:00
Zafar Khaja
e5041f42cb Make refactoring, rename class members, add comment 2012-11-06 22:44:35 +04:00
Zafar Khaja
220384023c Add a Note to README 2012-11-05 22:15:10 +04:00
Zafar Khaja
3c630ebbbc Create Version class and Tests
So far only basic functionality is implemented, such as parsing
version strings, incrementing major, minor and patch versions, as
well as comparing one Version to another.
2012-11-05 22:05:59 +04:00
Zafar Khaja
4b990fd3b0 Initial commit 2012-11-03 21:39:44 +04:00