Commit abbf275c authored by Cédric Traizet's avatar Cédric Traizet
Browse files

BUG: change return type to double in GetSecond, as it can return a fraction of second

parent e0423e81
......@@ -281,7 +281,7 @@ struct OTBMetadata_EXPORT Time : tm
int GetYear() const;
int GetHour() const;
int GetMinute() const;
int GetSecond() const;
double GetSecond() const;
......@@ -222,7 +222,7 @@ int Time::GetMinute() const
return tm_min;
int Time::GetSecond() const
double Time::GetSecond() const
return tm_sec + frac_sec;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment