Create a JavaScript/TypeScript library that provides utility functions for working with dates and times, such as parsing date strings, formatting dates, calculating the difference between two dates, and finding the next occurrence of a specific day of the week.

Here's a simple TypeScript library that provides utility functions for working with dates and times:

```typescript
class DateTimeUtils {
  // Parses a date string in the format "YYYY-MM-DD"
  static parseDate(dateString: string): Date {
    const [year, month, day] = dateString.split('-').map(Number);
    return new Date(year, month - 1, day);
  }

  // Formats a date object as a string in the format "YYYY-MM-DD"
  static formatDate(date: Date): string {
    const year = date.getFullYear();
    const month = (date.getMonth() + 1).toString().padStart(2, '0');
    const day = date.getDate().toString().padStart(2, '0');
    return `${year}-${month}-${day}`;
  }

  // Calculates the difference between two dates in days
  static dateDifference(date1: Date, date2: Date): number {
    const timeDifference = Math.abs(date2.getTime() - date1.getTime());
    return Math.ceil(timeDifference / (1000 * 3600 * 24));
  }

  // Finds the next occurrence of a specific day of the week
  static findNextDayOfWeek(date: Date, targetDayOfWeek: number): Date {
    const currentDayOfWeek = date.getDay();
    const daysUntilTarget = ((targetDayOfWeek - currentDayOfWeek) + 7) % 7;
    return new Date(date.getFullYear(), date.getMonth(), date.getDate() + daysUntilTarget);
  }
}

// Example usage:
const date1 = DateTimeUtils.parseDate('2022-01-01');
const date2 = DateTimeUtils.parseDate('2022-12-31');

console.log(DateTimeUtils.formatDate(date1)); // Output: "2022-01-01"
console.log(DateTimeUtils.dateDifference(date1, date2)); // Output: 364

const nextMonday = DateTimeUtils.findNextDayOfWeek(new Date(), 1);
console.log(DateTimeUtils.formatDate(nextMonday)); // Output: The next Monday's date
```

This library provides the following utility functions:

- `parseDate(dateString: string)`: Parses a date string in the format "YYYY-MM-DD" and returns a `Date` object.
- `formatDate(date: Date)`: Formats a `Date` object as a string in the format "YYYY-MM-DD".
- `dateDifference(date1: Date, date2: Date)`: Calculates the difference between two dates in days.
- `findNextDayOfWeek(date: Date, targetDayOfWeek: number)`: Finds the next occurrence of a specific day of the week (0 for Sunday, 1 for Monday, etc.) from the given date.

You can use this TypeScript code directly or convert it to JavaScript if needed.