This repository was archived by the owner on Dec 3, 2023. It is now read-only.
Commit 1f8b6b4
authored
fix: fix conversion for pre-epoch timestamps (#160)
* test: failing test for parsing a negative timestamp
* fix: fix conversion for pre-epoch timestamps
* chore: add comment, rename test variable names1 parent 13a0839 commit 1f8b6b4Copy full SHA for 1f8b6b4
2 files changed
+37-1Lines changed: 37 additions & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- google-cloud-core/src
- main/java/com/google/cloud
- test/java/com/google/cloud
Expand file treeCollapse file tree
Open diff view settings
Collapse file
google-cloud-core/src/main/java/com/google/cloud/Timestamp.java
Copy file name to clipboardExpand all lines: google-cloud-core/src/main/java/com/google/cloud/Timestamp.java+13-1Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
119 | 119 | |
120 | 120 | |
121 | 121 | |
122 | | - |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
123 | 135 | |
124 | 136 | |
125 | 137 | |
|
Collapse file
google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java
Copy file name to clipboardExpand all lines: google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java+24Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
80 | 80 | |
81 | 81 | |
82 | 82 | |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
83 | 107 | |
84 | 108 | |
85 | 109 | |
|
0 commit comments