Constructor
                        
    # new Week(weekData)
        Represents a week.
    
    Parameters:
| Name | Type | Description | 
|---|---|---|
weekData | 
  WeekData | The data for the week. | 
date | 
  DateResolvable | Use any DateResolvable for this. | 
Members
    
        
Advice
    
                # readonly advice
    Contains all of your predictions and suggestions for the week,
based on what you've entered.
    
        
boolean
    
                
                
                # buyLocalFirstTime
    Whether or not this is the first
that turnips have been bought from your island.
    
        
Array.<FriendWeek>
    
                
                # friendWeeks
    A list of all your friends that have entered data for the corresponding week.
    
        
number
    
                
                # localPrice
    The price Daisy Mae was selling turnips for on your specific island,
regardless of where you purchased from.
    
        
string
    
                
                
                
                # readonly previousPattern
    Allows you to explicitly state what your pattern was last week. 
Should be one of "big_spike", "small_spike", "triple", or "decreasing".
Should be one of "big_spike", "small_spike", "triple", or "decreasing".
    
        
number
    
            # version
    A sanity check that prevents an outdated frontend from overwriting newer data
on the server.
Methods
# static getDateSunday(date) → {Date}
        Returns the sunday of the week.
    
    Parameters:
| Name | Type | Description | 
|---|---|---|
date | 
  DateResolvable | 
        
Date