<commit_before># Ember-cli-moment-business

This is an Ember CLI addon for handling weekdays and weekends in moment.js. The underlying code is based on https://github.com/jmeas/moment-business configured to function as an ES6 module.

## Installation

```
ember install ember-cli-moment-business
```

## Usage

```
import * as business from 'ember-cli-moment-business';

// or

import {
  weekDays,
  weekendDays,
  addWeekDays,
  subtractWeekDays,
  isWeekDay,
  isWeekendDay,
  isSaturday,
  isSunday } from 'ember-cli-moment-business';
```

```
var fiftyWeekDaysIntoTheFuture = business.addWeekDays(moment(), 50);
```

## API

The public API is the same as https://github.com/jmeas/moment-business#api with two additions:

#### isSaturday (moment)

```
var isSaturday = business.isSaturday(moment()); // true if Saturday
```

#### isSunday (moment)

```
var isSunday = business.isSunday(moment()); // true if Sunday
```

## Author

My name is <NAME>. I am a javascript developer working for https://www.casefleet.com/.<commit_msg>update to author section<commit_after># Ember-cli-moment-business

This is an Ember CLI addon for handling weekdays and weekends in moment.js. The underlying code is based on https://github.com/jmeas/moment-business configured to function as an ES6 module.

## Installation

```
ember install ember-cli-moment-business
```

## Usage

```
import * as business from 'ember-cli-moment-business';

// or

import {
  weekDays,
  weekendDays,
  addWeekDays,
  subtractWeekDays,
  isWeekDay,
  isWeekendDay,
  isSaturday,
  isSunday } from 'ember-cli-moment-business';
```

```
var fiftyWeekDaysIntoTheFuture = business.addWeekDays(moment(), 50);
```

## API

The public API is the same as https://github.com/jmeas/moment-business#api with two additions:

#### isSaturday (moment)

```
var isSaturday = business.isSaturday(moment()); // true if Saturday
```

#### isSunday (moment)

```
var isSunday = business.isSunday(moment()); // true if Sunday
```

## Author

My name is <NAME>. I am a javascript developer working for https://www.casefleet.com/. We're using this addon to build a [legal calendaring](https://www.casefleet.com/deadline-tracking-with-legal-calendar) feature.
{'fraction_non_alphanumeric': 0.13333333333333333, 'fraction_numerical': 0.0027210884353741495, 'mean_word_length': 4.328502415458937, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 7, 'lorem ipsum': 0, 'www.': 3, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6657226', 'n_tokens_mistral': 755, 'n_tokens_neox': 675, 'n_words': 204}