mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing
This commit is contained in:
+5
-5
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+5
-5
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user