Polishing

This commit is contained in:
Juergen Hoeller
2013-08-29 19:17:59 +02:00
parent c664010001
commit caa1218d36
5 changed files with 67 additions and 61 deletions

View File

@@ -38,31 +38,31 @@ public class JodaTimeContext {
/**
* Set the user's chronology.
* Set the user's chronology (calendar system).
*/
public void setChronology(Chronology chronology) {
this.chronology = chronology;
}
/**
* The user's chronology (calendar system), if any.
* Return the user's chronology (calendar system), if any.
*/
public Chronology getChronology() {
return this.chronology;
}
/**
* Set the user's timezone.
* Set the user's time zone.
*/
public void setTimeZone(DateTimeZone timeZone) {
this.timeZone = timeZone;
}
/**
* The user's timezone, if any.
* Return the user's time zone, if any.
*/
public DateTimeZone getTimeZone() {
return timeZone;
return this.timeZone;
}

View File

@@ -37,31 +37,31 @@ public class DateTimeContext {
/**
* Set the user's chronology.
* Set the user's chronology (calendar system).
*/
public void setChronology(Chronology chronology) {
this.chronology = chronology;
}
/**
* The user's chronology (calendar system), if any.
* Return the user's chronology (calendar system), if any.
*/
public Chronology getChronology() {
return this.chronology;
}
/**
* Set the user's timezone.
* Set the user's time zone.
*/
public void setTimeZone(ZoneId timeZone) {
this.timeZone = timeZone;
}
/**
* The user's timezone, if any.
* Return the user's time zone, if any.
*/
public ZoneId getTimeZone() {
return timeZone;
return this.timeZone;
}