]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/jpeg/JpegData.java
Version 11, August 2010
[GpsPrune.git] / tim / prune / jpeg / JpegData.java
index e1ed4c4753aa12c100d06f70925b57b7465f07d2..62e54aff2f03846412d231d951429146995f6827 100644 (file)
@@ -18,6 +18,7 @@ public class JpegData
        private int[] _gpsTimestamp = null;
        private int[] _gpsDatestamp = null;
        private String _originalTimestamp = null;
+       private String _digitizedTimestamp = null;
        private int _orientationCode = -1;
        private byte[] _thumbnail = null;
        private ArrayList<String> _errors = null;
@@ -124,6 +125,15 @@ public class JpegData
                _originalTimestamp = inStamp;
        }
 
+       /**
+        * Set the digitized timestamp
+        * @param inStamp digitized (creation) timestamp of photo
+        */
+       public void setDigitizedTimestamp(String inStamp)
+       {
+               _digitizedTimestamp = inStamp;
+       }
+
        /**
         * Set the orientation code
         * @param inCode code from exif (1 to 8)
@@ -157,6 +167,8 @@ public class JpegData
        public int getOrientationCode() { return _orientationCode; }
        /** @return original timestamp as string */
        public String getOriginalTimestamp() { return _originalTimestamp; }
+       /** @return digitized timestamp as string */
+       public String getDigitizedTimestamp() { return _digitizedTimestamp; }
 
        /**
         * Set the thumbnail