Skip to content

Instantly share code, notes, and snippets.

package tck.java.time;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
import java.time.LocalDate;
import java.time.format.DateTimeParseException;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.DataProvider;
// this class was translated from TestNG to JUnit
// using Google's testng2junit tool (https://github.com/google/j2objc/blob/master/scripts/testng2junit.py)
package tck.java.time;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.time.LocalDate;
import java.time.format.DateTimeParseException;
od() {
opendiff $PLATFORM/libcore/$1 ~/libcore/$1 -ancestor ~/libcore-nougat/$1 -merge $PLATFORM/libcore/$1
}
const express = require('express')
const port = 3000
const app = express()
app.use(express.json)
// const connectionString = "mongodb://dbserverip:27017"
// const dbName = "db-name"
// const mongoclient = require('mongodb').MongoClient
// mongoclient.connect(connectionString,
// (err, client) => db = client.db(dbName)