diff options
Diffstat (limited to 'src/main/java/com/healthmarketscience/jackcess/impl/TableImpl.java')
-rw-r--r-- | src/main/java/com/healthmarketscience/jackcess/impl/TableImpl.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/impl/TableImpl.java b/src/main/java/com/healthmarketscience/jackcess/impl/TableImpl.java index eafa376..d05f640 100644 --- a/src/main/java/com/healthmarketscience/jackcess/impl/TableImpl.java +++ b/src/main/java/com/healthmarketscience/jackcess/impl/TableImpl.java @@ -22,6 +22,7 @@ import java.io.StringWriter; import java.nio.BufferOverflowException; import java.nio.ByteBuffer; import java.nio.charset.Charset; +import java.time.LocalDateTime; import java.util.AbstractMap; import java.util.ArrayList; import java.util.Arrays; @@ -476,6 +477,16 @@ public class TableImpl implements Table, PropertyMaps.Owner return _props; } + @Override + public LocalDateTime getCreatedDate() throws IOException { + return getDatabase().getCreateDateForObject(_tableDefPageNumber); + } + + @Override + public LocalDateTime getUpdatedDate() throws IOException { + return getDatabase().getUpdateDateForObject(_tableDefPageNumber); + } + /** * @return all PropertyMaps for this table (and columns) * @usage _advanced_method_ |