All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.meteoinfo.data.meteodata.grads.TDEFS Maven / Gradle / Ivy

There is a newer version: 3.8
Show newest version
 /* Copyright 2012 Yaqiang Wang,
 * [email protected]
 * 
 * This library is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or (at
 * your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
 * General Public License for more details.
 */
package org.meteoinfo.data.meteodata.grads;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

 /**
  * Template
  *
  * @author Yaqiang Wang
  */
 public class TDEFS {
     // 
     /// 
     /// Type - linear or ...
     /// 
 
     public String Type;
     /// 
     /// Time number
     /// 
     //public int TNum;
     /// 
     /// Start time
     /// 
     public LocalDateTime STime;
     /// 
     /// Time delt
     /// 
     public String TDelt;
     public int DeltaValue;
     public String unit;
     /// 
     /// Time array
     /// 
     public List times = new ArrayList<>();
     // 
     // 
     // 
     // 
     /**
      * Get time number
      * @return Time number
      */
     public int getTimeNum(){
         return this.times.size();
     }
     // 
     // 
     // 
 }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy