// Path: java8types/src/main/java/io/qala/datagen/RandomDate.java
// public static RandomDate beforeNow() {
//     return before(Instant.now());
// }
// 
// Path: datagen/src/main/java/io/qala/datagen/RandomShortApi.java
// public static double Double() {
//     return CommonsMath4.nextUniform(RANDOM, Long.MIN_VALUE, Long.MAX_VALUE, true);
// }
// 
// Path: datagen/src/main/java/io/qala/datagen/RandomShortApi.java
// public static String numeric(int exactLength) {
//     return length(exactLength).numeric();
// }


import java.time.ZonedDateTime;
import static io.qala.datagen.RandomDate.beforeNow;
import static io.qala.datagen.RandomShortApi.Double;
import static io.qala.datagen.RandomShortApi.numeric;
package io.qala.datagen.examples;



@SuppressWarnings("WeakerAccess")
class Account {
    private Person primaryOwner;
    private Person secondaryOwner;
    private String number;
    private Country openedIn;
    private double interestRate;
    private ZonedDateTime createdTime;

    static Account random() {
        Account account = new Account();
        account.setCreatedTime(beforeNow().zonedDateTime());
        account.setInterestRate(Double(.0, 1.0));
        account.setOpenedIn(Country.random());
// Path: java8types/src/main/java/io/qala/datagen/RandomDate.java
// public static RandomDate beforeNow() {
//     return before(Instant.now());
// }
// 
// Path: datagen/src/main/java/io/qala/datagen/RandomShortApi.java
// public static double Double() {
//     return CommonsMath4.nextUniform(RANDOM, Long.MIN_VALUE, Long.MAX_VALUE, true);
// }
// 
// Path: datagen/src/main/java/io/qala/datagen/RandomShortApi.java
// public static String numeric(int exactLength) {
//     return length(exactLength).numeric();
// }


// Path: examples/src/main/java/io/qala/datagen/examples/Account.java
import java.time.ZonedDateTime;
import static io.qala.datagen.RandomDate.beforeNow;
import static io.qala.datagen.RandomShortApi.Double;
import static io.qala.datagen.RandomShortApi.numeric;

package io.qala.datagen.examples;



@SuppressWarnings("WeakerAccess")
class Account {
    private Person primaryOwner;
    private Person secondaryOwner;
    private String number;
    private Country openedIn;
    private double interestRate;
    private ZonedDateTime createdTime;

    static Account random() {
        Account account = new Account();
        account.setCreatedTime(beforeNow().zonedDateTime());
        account.setInterestRate(Double(.0, 1.0));
        account.setOpenedIn(Country.random());
        account.setNumber(numeric(10));