Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
com.github.berry120.ac500:ac500
Advanced tools
Simple Java library for retrieving time information from the Galleon AC500 atomic clock receiver.
A simple Java libary for retrieving time information from the Galleon AC500 atomic clock receiver.
It will generally return the correct time to the nearest second or so, but is not hugely accurate beyond this point since it does not (at present) account for the transmit time. PR's to take the exact transmit time into account are welcome - it should be reasonably easy to calculate from the baud rate.
Use at your peril - this is nothing more than a thrown together proof of concept at present :-)
JSSC is required as a dependency for the serial communication.
<dependency>
<groupId>com.github.berry120.ac500</groupId>
<artifactId>ac500</artifactId>
<version>1.0</version>
</dependency>
compile 'com.github.berry120.ac500:ac500:1.0'
Example usage:
AC500 ac500 = new AC500("COM2"); //Change to whatever port the AC500 is attached to.
ZonedDateTime ldt = ac500.getTime().asZonedDateTime(); //Get current time as the Java 8 LocalDateTime object
DateTimeFormatter dtf = DateTimeFormatter.RFC_1123_DATE_TIME;
System.out.println(dtf.format(ldt)); //eg. Wed, 7 Jan 2015 17:30:13 GMT
FAQs
Simple Java library for retrieving time information from the Galleon AC500 atomic clock receiver.
We found that com.github.berry120.ac500:ac500 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.