var searchIndex = {}; searchIndex["datetime"] = {"doc":"","items":[[0,"local","datetime","",null,null],[3,"LocalDateTime","datetime::local","A **local date-time** is an exact instant on the timeline, *without a\ntime zone*.",null,null],[3,"LocalDate","","A **local date** is a day-long span on the timeline, *without a time\nzone*.",null,null],[3,"LocalTime","","A **local time** is a time on the timeline that recurs once a day,\n*without a time zone*.",null,null],[4,"Month","","A month of the year, starting with January, and ending with December.",null,null],[13,"January","","",0,null],[13,"February","","",0,null],[13,"March","","",0,null],[13,"April","","",0,null],[13,"May","","",0,null],[13,"June","","",0,null],[13,"July","","",0,null],[13,"August","","",0,null],[13,"September","","",0,null],[13,"October","","",0,null],[13,"November","","",0,null],[13,"December","","",0,null],[4,"Weekday","","A named day of the week, starting with Sunday, and ending with Saturday.",null,null],[13,"Sunday","","",1,null],[13,"Monday","","",1,null],[13,"Tuesday","","",1,null],[13,"Wednesday","","",1,null],[13,"Thursday","","",1,null],[13,"Friday","","",1,null],[13,"Saturday","","",1,null],[8,"DatePiece","","The **date piece** trait is used for date and time values that have\ndate components of years, months, and days.",null,null],[10,"year","","The year, in absolute terms.\nThis is in human-readable format, so the year 2014 actually has a\nyear value of 2014, rather than 14 or 114 or anything like that.",2,null],[10,"month","","The month of the year.",2,null],[10,"day","","The day of the month, from 1 to 31.",2,null],[10,"yearday","","The day of the year, from 1 to 366.",2,null],[10,"weekday","","The day of the week.",2,null],[11,"year_of_century","","The number of years into the century.\nThis is the same as the last two digits of the year.",2,null],[11,"years_from_2000","","The year number, relative to the year 2000.\nInternally, many routines use years relative the year 2000,\nrather than the year 0 (well, 1 BCE).",2,null],[8,"TimePiece","","The **time piece** trait is used for date and time values that have\ntime components of hours, minutes, and seconds.",null,null],[10,"hour","","The hour of the day.",3,null],[10,"minute","","The minute of the hour.",3,null],[10,"second","","The second of the minute.",3,null],[10,"millisecond","","The millisecond of the second.",3,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"cmp","","",0,null],[11,"partial_cmp","","",0,null],[11,"eq","","",0,null],[11,"clone","","",1,null],[11,"fmt","","",1,null],[11,"eq","","",1,null],[11,"days_from_sunday","","",1,null],[11,"clone","","",4,null],[11,"fmt","","",4,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"clone","","",5,null],[11,"fmt","","",5,null],[11,"clone","","",6,null],[11,"fmt","","",6,null],[11,"eq","","",6,null],[11,"ne","","",6,null],[11,"ymd","","Creates a new datestamp instance with the given year, month, and\nday fields.",5,{"inputs":[{"name":"i64"},{"name":"month"},{"name":"i8"}],"output":{"name":"option"}}],[11,"parse","","Parse an input string matching the ISO-8601 format, returning\nthe constructed date if successful, and None if unsuccessful.",5,{"inputs":[{"name":"str"}],"output":{"name":"option"}}],[11,"_new_with_prefilled_values","","Creates a new datestamp instance with the given year, month, day,\nweekday, and yearday fields.",5,{"inputs":[{"name":"i64"},{"name":"month"},{"name":"i8"},{"name":"weekday"},{"name":"i16"}],"output":{"name":"localdate"}}],[11,"from_seconds_since_midnight","","Computes the number of hours, minutes, and seconds, based on the\nnumber of seconds that have elapsed since midnight.",6,{"inputs":[{"name":"i64"}],"output":{"name":"localtime"}}],[11,"from_seconds_and_milliseconds_since_midnight","","Computes the number of hours, minutes, and seconds, based on the\nnumber of seconds that have elapsed since midnight.",6,{"inputs":[{"name":"i64"},{"name":"i16"}],"output":{"name":"localtime"}}],[11,"midnight","","The time at midnight, with all fields initialised to 0.",6,{"inputs":[],"output":{"name":"localtime"}}],[11,"hms","","Create a new timestamp instance with the given hour, minute, and\nsecond fields. The millisecond field is set to 0.",6,{"inputs":[{"name":"i8"},{"name":"i8"},{"name":"i8"}],"output":{"name":"option"}}],[11,"hms_ms","","Create a new timestamp instance with the given hour, minute,\nsecond, and millisecond fields.",6,{"inputs":[{"name":"i8"},{"name":"i8"},{"name":"i8"},{"name":"i16"}],"output":{"name":"option"}}],[11,"from_instant","","Computes a complete date-time based on the values in the given\nInstant parameter.",4,{"inputs":[{"name":"instant"}],"output":{"name":"localdatetime"}}],[11,"at","","Computes a complete date-time based on the number of seconds that\nhave elapsed since **midnight, 1st January, 1970**, setting the\nnumber of milliseconds to 0.",4,{"inputs":[{"name":"i64"}],"output":{"name":"localdatetime"}}],[11,"at_ms","","Computes a complete date-time based on the number of seconds that\nhave elapsed since **midnight, 1st January, 1970**,",4,{"inputs":[{"name":"i64"},{"name":"i16"}],"output":{"name":"localdatetime"}}],[11,"date","","Computes a complete date-time based on the number of seconds\n*and milliseconds* that have elapsed since **midnight, 1st\nJanuary, 1970**.\nThe date portion of this date-time stamp.",4,null],[11,"time","","The time portion of this date-time stamp.",4,null],[11,"now","","Creates a new date-time stamp set to the current time.",4,{"inputs":[],"output":{"name":"localdatetime"}}],[11,"to_instant","","",4,null],[11,"months_from_january","","",0,null],[11,"year","","",5,null],[11,"month","","",5,null],[11,"day","","",5,null],[11,"yearday","","",5,null],[11,"weekday","","",5,null],[11,"hour","","",6,null],[11,"minute","","",6,null],[11,"second","","",6,null],[11,"millisecond","","",6,null],[11,"year","","",4,null],[11,"month","","",4,null],[11,"day","","",4,null],[11,"yearday","","",4,null],[11,"weekday","","",4,null],[11,"hour","","",4,null],[11,"minute","","",4,null],[11,"second","","",4,null],[11,"millisecond","","",4,null],[11,"eq","","",5,null],[11,"add","","",4,null],[11,"sub","","",4,null],[0,"instant","datetime","",null,null],[3,"Instant","datetime::instant","An **Instant** is an exact point on the timeline, irrespective of time\nzone or calendar format, with millisecond precision.",null,null],[11,"clone","","",7,null],[11,"cmp","","",7,null],[11,"partial_cmp","","",7,null],[11,"lt","","",7,null],[11,"le","","",7,null],[11,"gt","","",7,null],[11,"ge","","",7,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"at","","Creates a new Instant set to the number of seconds since the Unix\nepoch, and zero milliseconds.",7,{"inputs":[{"name":"i64"}],"output":{"name":"instant"}}],[11,"at_ms","","Creates a new Instant set to the number of seconds since the\nUnix epoch, along with the number of milliseconds so far this\nsecond.",7,{"inputs":[{"name":"i64"},{"name":"i16"}],"output":{"name":"instant"}}],[11,"now","","Creates a new Instant set to the computer's current time.",7,{"inputs":[],"output":{"name":"instant"}}],[11,"at_epoch","","Creates a new Instant set to the Unix epoch.",7,{"inputs":[],"output":{"name":"instant"}}],[11,"seconds","","Returns the number of seconds at this instant",7,null],[11,"milliseconds","","Returns the number of milliseconds at this instant",7,null],[11,"fmt","","",7,null],[11,"add","","",7,null],[11,"sub","","",7,null],[0,"duration","datetime","",null,null],[3,"Duration","datetime::duration","A **Duration** is a length of time on the timeline, irrespective of\ntime zone or calendar format, with millisecond precision,",null,null],[11,"fmt","","",8,null],[11,"eq","","",8,null],[11,"ne","","",8,null],[11,"clone","","",8,null],[11,"zero","","Create a new zero-length duration.",8,{"inputs":[],"output":{"name":"duration"}}],[11,"of","","Create a new duration that's the given number of seconds long.",8,{"inputs":[{"name":"i64"}],"output":{"name":"duration"}}],[11,"of_ms","","Create a new duration that's the given number of seconds and\nmilliseconds long.",8,{"inputs":[{"name":"i64"},{"name":"i16"}],"output":{"name":"duration"}}],[11,"lengths","","Return the seconds and milliseconds portions of the duration as\na 2-element tuple.",8,null],[11,"add","","",8,null],[11,"sub","","",8,null],[11,"mul","","",8,null],[0,"format","datetime","# Date and Time Formatting",null,null],[3,"DateFormat","datetime::format","",null,null],[12,"fields","","",9,null],[3,"Arguments","","",null,null],[12,"alignment","","",10,null],[12,"width","","",10,null],[12,"pad_char","","",10,null],[3,"TextArguments","","",null,null],[3,"NumArguments","","",null,null],[4,"Field","","",null,null],[13,"Literal","","",11,null],[13,"Year","","",11,null],[13,"YearOfCentury","","",11,null],[13,"MonthName","","",11,null],[13,"Day","","",11,null],[13,"WeekdayName","","",11,null],[13,"Hour","","",11,null],[13,"Minute","","",11,null],[13,"Second","","",11,null],[4,"FormatError","","",null,null],[13,"InvalidChar","","",12,null],[12,"c","datetime::format::FormatError","",12,null],[12,"colon","","",12,null],[12,"pos","","",12,null],[13,"OpenCurlyBrace","datetime::format","",12,null],[12,"open_pos","datetime::format::FormatError","",12,null],[13,"CloseCurlyBrace","datetime::format","",12,null],[12,"close_pos","datetime::format::FormatError","",12,null],[13,"MissingField","datetime::format","",12,null],[12,"open_pos","datetime::format::FormatError","",12,null],[12,"close_pos","","",12,null],[13,"DoubleAlignment","datetime::format","",12,null],[12,"open_pos","datetime::format::FormatError","",12,null],[12,"current_alignment","","",12,null],[13,"DoubleWidth","datetime::format","",12,null],[12,"open_pos","datetime::format::FormatError","",12,null],[12,"current_width","","",12,null],[6,"Width","datetime::format","",null,null],[6,"Pos","","",null,null],[11,"fmt","","",11,null],[11,"clone","","",11,null],[11,"eq","","",11,null],[11,"ne","","",11,null],[11,"fmt","","",9,null],[11,"clone","","",9,null],[11,"eq","","",9,null],[11,"ne","","",9,null],[11,"fmt","","",12,null],[11,"clone","","",12,null],[11,"eq","","",12,null],[11,"ne","","",12,null],[11,"fmt","","",10,null],[11,"clone","","",10,null],[11,"eq","","",10,null],[11,"ne","","",10,null],[11,"empty","","",10,{"inputs":[],"output":{"name":"arguments"}}],[11,"set_width","","",10,null],[11,"set_alignment","","",10,null],[11,"update_width","","",10,null],[11,"update_alignment","","",10,null],[11,"is_empty","","",10,null],[11,"fmt","","",13,null],[11,"clone","","",13,null],[11,"eq","","",13,null],[11,"ne","","",13,null],[11,"fmt","","",14,null],[11,"clone","","",14,null],[11,"eq","","",14,null],[11,"ne","","",14,null],[11,"format","","",9,null],[11,"parse","","",9,{"inputs":[{"name":"str"}],"output":{"name":"result"}}]],"paths":[[4,"Month"],[4,"Weekday"],[8,"DatePiece"],[8,"TimePiece"],[3,"LocalDateTime"],[3,"LocalDate"],[3,"LocalTime"],[3,"Instant"],[3,"Duration"],[3,"DateFormat"],[3,"Arguments"],[4,"Field"],[4,"FormatError"],[3,"TextArguments"],[3,"NumArguments"]]}; initSearch(searchIndex);