コード例 #1
0
 /** Restore prior userTimezone */
 public void undo() {
   ((LiferayTomcatServer) server).setUserTimezone(oldUserTimezone);
 }
コード例 #2
0
 /** Execute setting the user timezone */
 public void execute() {
   oldUserTimezone = ((LiferayTomcatServer) server).getUserTimezone();
   ((LiferayTomcatServer) server).setUserTimezone(userTimezone);
 }