------------------------------------------------------------
revno: 15007
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Sun 2014-04-27 08:12:05 +0545
message:
minor
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/Calendar.java
dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/DateInterval.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/Calendar.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/Calendar.java 2014-04-27 02:25:10 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/Calendar.java 2014-04-27 02:27:05 +0000
@@ -82,7 +82,6 @@
* Gets interval of type based on DateUnit
* @param dateUnit DateUnit representing local year, month, day
* @return Interval for interval type based on dateUnit
- * @see <a href="http://en.wikipedia.org/wiki/ISO_8601">http://en.wikipedia.org/wiki/ISO_8601</a>
* @see DateInterval.DateIntervalType
*/
DateInterval toInterval( DateUnit dateUnit, DateInterval.DateIntervalType type );
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/DateInterval.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/DateInterval.java 2014-04-27 02:25:10 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/DateInterval.java 2014-04-27 02:27:05 +0000
@@ -40,14 +40,11 @@
{
public enum DateIntervalType
{
- // Gives interval as ISO 8601 year
- ISO8601_YEAR,
-
- // Gives interval as ISO 8601 month
- ISO8601_MONTH,
-
- // Gives interval as ISO 8601 week
- ISO8601_WEEK
+ /**
+ * Gives interval for a year, month or week based on ISO 8601.
+ * @see <a href="http://en.wikipedia.org/wiki/ISO_8601">http://en.wikipedia.org/wiki/ISO_8601</a>
+ */
+ ISO8601_YEAR, ISO8601_MONTH, ISO8601_WEEK
}
/**
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp