Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented TimeZones Interface #3

Merged
merged 73 commits into from
Aug 13, 2015
Merged

Implemented TimeZones Interface #3

merged 73 commits into from
Aug 13, 2015

Commits on Jul 6, 2015

  1. Made tzcompile.jl compatible with Julia v0.4.

    Compatibility required that the following issue was fixed in Julia:
    JuliaLang/julia#12003
    Curtis Vogt committed Jul 6, 2015
    Configuration menu
    Copy the full SHA
    e6095a2 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2015

  1. Removed trailing whitespace.

    Curtis Vogt committed Jul 20, 2015
    Configuration menu
    Copy the full SHA
    a5e626e View commit details
    Browse the repository at this point in the history
  2. Made use of joinpath.

    Curtis Vogt committed Jul 20, 2015
    Configuration menu
    Copy the full SHA
    2715f33 View commit details
    Browse the repository at this point in the history
  3. Simplified initial pass in tzparse.

    Curtis Vogt committed Jul 20, 2015
    Configuration menu
    Copy the full SHA
    1c26259 View commit details
    Browse the repository at this point in the history
  4. Minor changes to improve clarity.

    Curtis Vogt committed Jul 20, 2015
    Configuration menu
    Copy the full SHA
    d8885c4 View commit details
    Browse the repository at this point in the history
  5. Until in zone is only split when needed.

    Curtis Vogt committed Jul 20, 2015
    Configuration menu
    Copy the full SHA
    b27d89a View commit details
    Browse the repository at this point in the history
  6. Revised parsedate function.

    Curtis Vogt committed Jul 20, 2015
    Configuration menu
    Copy the full SHA
    2edb0a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2015

  1. Refactored parts of zoneparse.

    Curtis Vogt committed Jul 24, 2015
    Configuration menu
    Copy the full SHA
    f5b64e2 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2015

  1. Renamed src files to match module names.

    Curtis Vogt committed Jul 27, 2015
    Configuration menu
    Copy the full SHA
    fc4e591 View commit details
    Browse the repository at this point in the history
  2. Moved TZCompile.jl to timezones/Olsen.jl

    Curtis Vogt committed Jul 27, 2015
    Configuration menu
    Copy the full SHA
    9bc5dd4 View commit details
    Browse the repository at this point in the history
  3. Made TimeZone types and update Olsen parser.

    Note: generate_tzinfo and generate_tzdata are now broken and need
    to be updated.
    Curtis Vogt committed Jul 27, 2015
    Configuration menu
    Copy the full SHA
    191d0c4 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2015

  1. Created ZonedDateTime type.

    Curtis Vogt committed Jul 28, 2015
    Configuration menu
    Copy the full SHA
    3d088bf View commit details
    Browse the repository at this point in the history
  2. Changed offset precision to seconds.

    Curtis Vogt committed Jul 28, 2015
    Configuration menu
    Copy the full SHA
    f09ab2f View commit details
    Browse the repository at this point in the history
  3. Created local DateTime constructor for ZonedDateTime.

    Curtis Vogt committed Jul 28, 2015
    Configuration menu
    Copy the full SHA
    83c890a View commit details
    Browse the repository at this point in the history
  4. Fixed error with parsing zones.

    Curtis Vogt committed Jul 28, 2015
    Configuration menu
    Copy the full SHA
    15a8f26 View commit details
    Browse the repository at this point in the history
  5. Refactored ZonedDateTime constructor.

    Curtis Vogt committed Jul 28, 2015
    Configuration menu
    Copy the full SHA
    51a2426 View commit details
    Browse the repository at this point in the history
  6. Broke up FixedTimeZone into two types.

    New types are OffsetTimeZone and DaylightSavingTimeZone. Change was
    introduced to keep the UTC offset and the DST offset separate.
    Curtis Vogt committed Jul 28, 2015
    Configuration menu
    Copy the full SHA
    b02b2cb View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2015

  1. Added alternative ZonedDateTime constructor.

    Curtis Vogt committed Jul 29, 2015
    Configuration menu
    Copy the full SHA
    2e89848 View commit details
    Browse the repository at this point in the history
  2. Created initial testcases.

    Curtis Vogt committed Jul 29, 2015
    Configuration menu
    Copy the full SHA
    c1b86f8 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2015

  1. Improved TZ database parser initial pass error handling.

    Link entries were being considered continuation lines. This issue
    was noticed with parsing "Pacific/Honolulu". Code was restructured
    to only treat lines that start with whitespace as continuation lines.
    This change should now gracefully handle modifications the the TZ
    database.
    Curtis Vogt committed Jul 30, 2015
    Configuration menu
    Copy the full SHA
    cc2dcd9 View commit details
    Browse the repository at this point in the history
  2. Major refactoring to the TZ database parser.

    Changes made to support all records provided by the TZ database
    and additionally make debugging and testing easier.
    Curtis Vogt committed Jul 30, 2015
    Configuration menu
    Copy the full SHA
    cc22cff View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2015

  1. Fixed problems encoutered with negative Time.

    Curtis Vogt committed Jul 31, 2015
    Configuration menu
    Copy the full SHA
    c81ff37 View commit details
    Browse the repository at this point in the history
  2. Switched Time to use seconds internally.

    Curtis Vogt committed Jul 31, 2015
    Configuration menu
    Copy the full SHA
    b65d854 View commit details
    Browse the repository at this point in the history
  3. Added testcases for Olsen.parsedate.

    Curtis Vogt committed Jul 31, 2015
    Configuration menu
    Copy the full SHA
    d44ccd8 View commit details
    Browse the repository at this point in the history
  4. Simplified processing of Rule's at param.

    Curtis Vogt committed Jul 31, 2015
    Configuration menu
    Copy the full SHA
    8daa60a View commit details
    Browse the repository at this point in the history
  5. Attempting to get accurate timezone parsing.

    Curtis Vogt committed Jul 31, 2015
    Configuration menu
    Copy the full SHA
    53c74e0 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2015

  1. Corrected issues noticedd with resolving timezones.

    Code works but is rather messy and needs refactoring.
    Curtis Vogt committed Aug 4, 2015
    Configuration menu
    Copy the full SHA
    7321fbb View commit details
    Browse the repository at this point in the history
  2. Reduced iterations by ordering rules.

    Curtis Vogt committed Aug 4, 2015
    Configuration menu
    Copy the full SHA
    619d10d View commit details
    Browse the repository at this point in the history
  3. Refactoring resolve to be as clear as possible.

    Curtis Vogt committed Aug 4, 2015
    Configuration menu
    Copy the full SHA
    117c969 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2015

  1. Update Time type to work comparing to Period types.

    Curtis Vogt committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    7b7bb34 View commit details
    Browse the repository at this point in the history
  2. Made Time type a subtype of TimeType.

    Curtis Vogt committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    0368e9b View commit details
    Browse the repository at this point in the history
  3. Updated parsing to deal with extremes of offsets/save.

    Curtis Vogt committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    03de3b5 View commit details
    Browse the repository at this point in the history
  4. Ensured that Zone array is sorted during resolve.

    Curtis Vogt committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    8cac598 View commit details
    Browse the repository at this point in the history
  5. Minor refactoring and comments for resolve.

    Curtis Vogt committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    fc8655b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    874e8b1 View commit details
    Browse the repository at this point in the history
  7. Various minor corrections.

    Curtis Vogt committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    8417f05 View commit details
    Browse the repository at this point in the history
  8. Added function for loading all timezones.

    Curtis Vogt committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    7b6becc View commit details
    Browse the repository at this point in the history
  9. Updated MINOFFSET.

    Curtis Vogt committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    3975635 View commit details
    Browse the repository at this point in the history
  10. Build now serializes TimeZone objects.

    Curtis Vogt committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    e48f6c2 View commit details
    Browse the repository at this point in the history
  11. Created function that lists timezone names.

    Curtis Vogt committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    8032710 View commit details
    Browse the repository at this point in the history
  12. Refactoring build.jl to be more user friendly.

    Curtis Vogt committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    77cf9aa View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2015

  1. Configuration menu
    Copy the full SHA
    486d2f0 View commit details
    Browse the repository at this point in the history
  2. Fixed undefined variable in error message.

    Curtis Vogt committed Aug 6, 2015
    Configuration menu
    Copy the full SHA
    7cbd5db View commit details
    Browse the repository at this point in the history
  3. Added tests for obscure transition behaviours.

    Curtis Vogt committed Aug 6, 2015
    Configuration menu
    Copy the full SHA
    e36d117 View commit details
    Browse the repository at this point in the history
  4. Testcase for skipping an entire day.

    Curtis Vogt committed Aug 6, 2015
    Configuration menu
    Copy the full SHA
    e1e78c8 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2015

  1. Created tests for behaviours with strange timezones.

    Curtis Vogt committed Aug 7, 2015
    Configuration menu
    Copy the full SHA
    0626077 View commit details
    Browse the repository at this point in the history
  2. Added support for TZ database Links.

    Curtis Vogt committed Aug 7, 2015
    Configuration menu
    Copy the full SHA
    c06705d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    75f9d86 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d66aa99 View commit details
    Browse the repository at this point in the history
  5. Added equality comparisons for ZonedDateTimes.

    Curtis Vogt committed Aug 7, 2015
    Configuration menu
    Copy the full SHA
    11611aa View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2015

  1. Implemented arithmetic for ZonedDateTime.

    Curtis Vogt committed Aug 10, 2015
    Configuration menu
    Copy the full SHA
    a17abc5 View commit details
    Browse the repository at this point in the history
  2. Refactoring including switching FixedTimeZone to a concrete type.

    Previously we had OffsetTimeZone and DaylightSavingTimeZone as
    subtypes of FixedTimeZone to avoid having to store the DST offset
    for fixed timezones that didn't include this information. I don't
    believe that the minor memory savings is worth the trouble currently
    so I've remove the original two concrete types in favor of a single
    type FixedTimeZone.
    
    Additional changes:
    - "dst_offset" and "utc_offset" removed.
    - "total_offset" renamed to "offset".
    - Added "localtime" and "utc" accessors for extracting a DateTime
    - Removed sizehint! that wasn't necessary.
    Curtis Vogt committed Aug 10, 2015
    Configuration menu
    Copy the full SHA
    1102c15 View commit details
    Browse the repository at this point in the history
  3. Parsing TZ data can now return FixedTimeZone.

    Curtis Vogt committed Aug 10, 2015
    Configuration menu
    Copy the full SHA
    2df4e98 View commit details
    Browse the repository at this point in the history
  4. Updated .gitignore file.

    Curtis Vogt committed Aug 10, 2015
    Configuration menu
    Copy the full SHA
    557b52b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae4b876 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2015

  1. Made FixedTimeZone constructor for strings.

    Curtis Vogt committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    d0cbeac View commit details
    Browse the repository at this point in the history
  2. Implemented ZonedDateTime parsing.

    Current implementation overrides Base.Dates functions to include
    additional functionality.
    Curtis Vogt committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    94c0dc2 View commit details
    Browse the repository at this point in the history
  3. Updated DateFormat to dynamically lookup ids.

    Curtis Vogt committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    e7e1b04 View commit details
    Browse the repository at this point in the history
  4. Updated Travis file and added badges.

    Curtis Vogt committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    024ded2 View commit details
    Browse the repository at this point in the history
  5. Removed Compat import as we require 0.4 Base.Dates.

    Curtis Vogt committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    f84c4e4 View commit details
    Browse the repository at this point in the history
  6. Updated build to retry download upon failure.

    Curtis Vogt committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    ddc6e87 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    568ae3f View commit details
    Browse the repository at this point in the history
  8. Added additional testcases to increase code coverage.

    Curtis Vogt committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    3ee97be View commit details
    Browse the repository at this point in the history
  9. Added testcases for timezone_names.

    Curtis Vogt committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    ab24474 View commit details
    Browse the repository at this point in the history
  10. Removed Transition from export list.

    Curtis Vogt committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    4ca282b View commit details
    Browse the repository at this point in the history
  11. Added testcase coverage for negative arithmetic.

    Curtis Vogt committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    b98e8eb View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2015

  1. Fixed bug with from_utc keyword.

    Curtis Vogt committed Aug 12, 2015
    Configuration menu
    Copy the full SHA
    8eb178f View commit details
    Browse the repository at this point in the history
  2. 3 Configuration menu
    Copy the full SHA
    892bc01 View commit details
    Browse the repository at this point in the history
  3. Improved testcase coverage.

    Curtis Vogt committed Aug 12, 2015
    Configuration menu
    Copy the full SHA
    4a1c3b4 View commit details
    Browse the repository at this point in the history
  4. Updated README.md to include basic usage.

    Curtis Vogt committed Aug 12, 2015
    Configuration menu
    Copy the full SHA
    ee90f37 View commit details
    Browse the repository at this point in the history
  5. Created trunc methods.

    Curtis Vogt committed Aug 12, 2015
    Configuration menu
    Copy the full SHA
    5920d4e View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2015

  1. Added firstdayof*/lastdayof* adjusters.

    Curtis Vogt committed Aug 13, 2015
    Configuration menu
    Copy the full SHA
    3dc2d26 View commit details
    Browse the repository at this point in the history
  2. Added several accessors.

    Curtis Vogt committed Aug 13, 2015
    Configuration menu
    Copy the full SHA
    6ae92c5 View commit details
    Browse the repository at this point in the history