Check-in [ecce1ba61d]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Record the epoch difference for UNIX and PalmOS (Mac).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:ecce1ba61dfbbc9a70503e499b3c9529e69f9fe9
User & Date: stephanie.gawroriski 2019-07-13 15:49:57
Context
2019-07-13
16:49
Writing of PalmOS databases or resources. check-in: 24f52edab8 user: stephanie.gawroriski tags: trunk
15:49
Record the epoch difference for UNIX and PalmOS (Mac). check-in: ecce1ba61d user: stephanie.gawroriski tags: trunk
15:47
Set attributes in the ROM database; Write of name and attributes. check-in: f1cdff6ee7 user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to bldt/libs/palmos-utils/dev/shadowtail/palmos/PalmDatabaseBuilder.java.

24
25
26
27
28
29
30








31
32
33
34
35
36
37
 * @since 2019/07/13
 */
public final class PalmDatabaseBuilder
{
	/** The limit to the name length. */
	private static final int _NAME_LIMIT =
		32;








	
	/** The type of database to create. */
	protected final PalmDatabaseType dbtype;
	
	/** Attributes within the database. */
	private final Set<PalmDatabaseAttribute> _attributes =
		new HashSet<>();







>
>
>
>
>
>
>
>







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 * @since 2019/07/13
 */
public final class PalmDatabaseBuilder
{
	/** The limit to the name length. */
	private static final int _NAME_LIMIT =
		32;
	
	/** Difference in the epoch in seconds. */
	private static final long _EPOCH_DIFF_SECONDS =
		2082844800L;
	
	/** Difference in the epoch in milliseconds. */
	private static final long _EPOCH_DIFF_MILLISECONDS =
		2082844800_000L;
	
	/** The type of database to create. */
	protected final PalmDatabaseType dbtype;
	
	/** Attributes within the database. */
	private final Set<PalmDatabaseAttribute> _attributes =
		new HashSet<>();