Coverage Report - org.kuali.student.datadictionary.SpringConfigurableDateTimeServiceImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
SpringConfigurableDateTimeServiceImpl
68%
13/19
N/A
1
 
 1  
 /*
 2  
  * Copyright 2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 1.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl1.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.student.datadictionary;
 17  
 
 18  
 import org.kuali.rice.core.impl.DateTimeServiceImpl;
 19  
 
 20  
 /**
 21  
  * Class that can be configured directly by spring instead of by the KNS configurer
 22  
  * 
 23  
  * @author nwright
 24  
  */
 25  5
 public class SpringConfigurableDateTimeServiceImpl extends DateTimeServiceImpl {
 26  
 
 27  
     public String getDateToStringFormatForFileName() {
 28  0
         return dateToStringFormatForFileName;
 29  
     }
 30  
 
 31  
     public void setDateToStringFormatForFileName(String dateToStringFormatForFileName) {
 32  5
         this.dateToStringFormatForFileName = dateToStringFormatForFileName;
 33  5
     }
 34  
 
 35  
     public String getDateToStringFormatForUserInterface() {
 36  0
         return dateToStringFormatForUserInterface;
 37  
     }
 38  
 
 39  
     public void setDateToStringFormatForUserInterface(String dateToStringFormatForUserInterface) {
 40  5
         this.dateToStringFormatForUserInterface = dateToStringFormatForUserInterface;
 41  5
     }
 42  
 
 43  
     public String[] getStringToDateFormats() {
 44  0
         return stringToDateFormats;
 45  
     }
 46  
 
 47  
     public void setStringToDateFormats(String[] stringToDateFormats) {
 48  5
         this.stringToDateFormats = stringToDateFormats;
 49  5
     }
 50  
 
 51  
     public String[] getStringToTimestampFormats() {
 52  0
         return stringToTimestampFormats;
 53  
     }
 54  
 
 55  
     public void setStringToTimestampFormats(String[] stringToTimestampFormats) {
 56  5
         this.stringToTimestampFormats = stringToTimestampFormats;
 57  5
     }
 58  
 
 59  
     public String getTimestampToStringFormatForFileName() {
 60  0
         return timestampToStringFormatForFileName;
 61  
     }
 62  
 
 63  
     public void setTimestampToStringFormatForFileName(String timestampToStringFormatForFileName) {
 64  5
         this.timestampToStringFormatForFileName = timestampToStringFormatForFileName;
 65  5
     }
 66  
 
 67  
     public String getTimestampToStringFormatForUserInterface() {
 68  0
         return timestampToStringFormatForUserInterface;
 69  
     }
 70  
 
 71  
     public void setTimestampToStringFormatForUserInterface(String timestampToStringFormatForUserInterface) {
 72  5
         this.timestampToStringFormatForUserInterface = timestampToStringFormatForUserInterface;
 73  5
     }
 74  
 
 75  
 
 76  
 }